ParseError: mismatched tag for Tagesschau #3591

Closed
opened 2026-02-20 23:26:38 -05:00 by deekerman · 1 comment
Owner

Originally created by @zwerfvogel on GitHub (Dec 4, 2014).

Tagesschau is on the list of supported sites, but is now broken:

$ python -V
Python 2.7.3
$ uname -a
Linux myhost 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u1 x86_64 GNU/Linux
$ youtube-dl -U
youtube-dl is up-to-date (2014.12.04.2)
$ youtube-dl --verbose http://www.tagesschau.de/multimedia/sendung/ts-5727.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.tagesschau.de/multimedia/sendung/ts-5727.html']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.12.04.2
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.7
[debug] exe versions: avconv 0.8.16-6, avprobe 0.8.16-6, ffmpeg 0.8.16-6, ffprobe 0.8.16-6, rtmpdump 2.4
[debug] Proxy map: {}
[generic] ts-5727: Requesting header
WARNING: Falling back on generic information extractor.
[generic] ts-5727: Downloading webpage
[generic] ts-5727: Extracting information
ERROR: Unsupported URL: http://www.tagesschau.de/multimedia/sendung/ts-5727.html; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 651, in _real_extract
doc = parse_xml(webpage)
File "/usr/bin/youtube-dl/youtube_dl/utils.py", line 1425, in parse_xml
tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1301, in XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1643, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1507, in _raiseerror
raise err
ParseError: mismatched tag: line 138, column 2
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 553, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 241, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1044, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.tagesschau.de/multimedia/sendung/ts-5727.html; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Originally created by @zwerfvogel on GitHub (Dec 4, 2014). Tagesschau is on the list of supported sites, but is now broken: $ python -V Python 2.7.3 $ uname -a Linux myhost 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u1 x86_64 GNU/Linux $ youtube-dl -U youtube-dl is up-to-date (2014.12.04.2) $ youtube-dl --verbose http://www.tagesschau.de/multimedia/sendung/ts-5727.html [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['--verbose', 'http://www.tagesschau.de/multimedia/sendung/ts-5727.html'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2014.12.04.2 [debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.7 [debug] exe versions: avconv 0.8.16-6, avprobe 0.8.16-6, ffmpeg 0.8.16-6, ffprobe 0.8.16-6, rtmpdump 2.4 [debug] Proxy map: {} [generic] ts-5727: Requesting header WARNING: Falling back on generic information extractor. [generic] ts-5727: Downloading webpage [generic] ts-5727: Extracting information ERROR: Unsupported URL: http://www.tagesschau.de/multimedia/sendung/ts-5727.html; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. Traceback (most recent call last): File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 651, in _real_extract doc = parse_xml(webpage) File "/usr/bin/youtube-dl/youtube_dl/utils.py", line 1425, in parse_xml tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs) File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1301, in XML parser.feed(text) File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1643, in feed self._raiseerror(v) File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1507, in _raiseerror raise err ParseError: mismatched tag: line 138, column 2 Traceback (most recent call last): File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 553, in extract_info ie_result = ie.extract(url) File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 241, in extract return self._real_extract(url) File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1044, in _real_extract raise ExtractorError('Unsupported URL: %s' % url) ExtractorError: Unsupported URL: http://www.tagesschau.de/multimedia/sendung/ts-5727.html; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Author
Owner

@phihag commented on GitHub (Dec 5, 2014):

Thank you for the report. I believe this issue to be fixed in youtube-dl 2014.12.06. See our FAQ if you are having trouble updating.

@phihag commented on GitHub (Dec 5, 2014): Thank you for the report. I believe this issue to be fixed in youtube-dl 2014.12.06. See [our FAQ](https://yt-dl.org/update) if you are having trouble updating.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl#3591
No description provided.