Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with 3Sat Mediathek #3458

Closed
novamcgurk opened this issue Aug 6, 2014 · 4 comments
Closed

Problem with 3Sat Mediathek #3458

novamcgurk opened this issue Aug 6, 2014 · 4 comments

Comments

@novamcgurk
Copy link

@novamcgurk novamcgurk commented Aug 6, 2014

I got this error, while trying to download a file from the 3Sat Mediathek.

WARNING: Falling back on generic information extractor.
[generic] ?mode=play: Downloading webpage
[generic] ?mode=play: Extracting information
ERROR: Unsupported URL: http://www.3sat.de/mediathek/?mode=play; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.

@naglis
Copy link
Collaborator

@naglis naglis commented Aug 6, 2014

Hi, novamcgurk,
the URL you used (http://www.3sat.de/mediathek/?mode=play) is missing the ID of the video, which is required for youtube-dl to know which video you want to download. 3sat.de videos usually have an URL in format http://www.3sat.de/mediathek/?mode=play&obj=<id>, where <id> is the ID of the requested video. So, please, check your URL.

Also, next time you report a bug, be sure to post the full output of youtube-dl, using the --verbose flag, it helps a lot.

@novamcgurk
Copy link
Author

@novamcgurk novamcgurk commented Aug 7, 2014

Ok, sorry i used this URL: http://www.3sat.de/mediathek/?mode=play&obj=45208
but the error message just showed it until the ...play part.

This is the full error message with the --verbose flag.

usermbpr:~ User$ youtube-dl --verbose http://www.3sat.de/mediathek/?mode=play&obj=45208
[1] 9777
usermbpr:~ User$ [debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.3sat.de/mediathek/?mode=play']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.08.05
[debug] Python version 2.7.5 - Darwin-13.3.0-x86_64-i386-64bit
[debug] Proxy map: {}
[generic] ?mode=play: Requesting header
WARNING: Falling back on generic information extractor.
[generic] ?mode=play: Downloading webpage
[generic] ?mode=play: Extracting information
ERROR: Unsupported URL: http://www.3sat.de/mediathek/?mode=play; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 457, in _real_extract
doc = parse_xml(webpage)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1420, in parse_xml
return xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
parser.feed(text)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: undefined entity  : line 68, column 82
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 170, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 752, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.3sat.de/mediathek/?mode=play; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.

@naglis
Copy link
Collaborator

@naglis naglis commented Aug 7, 2014

Thanks for the clarification. The ampersand (&) has a special meaning in Bash, so you should enclose the URL in quotation marks to escape it, and it should work:

youtube-dl "http://www.3sat.de/mediathek/?mode=play&obj=45208"

Without the quotes, the ampersand is interpreted by Bash as a control operator, that's why the URL got cut off.

@novamcgurk
Copy link
Author

@novamcgurk novamcgurk commented Aug 7, 2014

Ah....works like a charm, thanks a lot.

@naglis naglis closed this Jan 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.