Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
drtv ramasjang fails to download #23278
Comments
|
I believe DR's complete URL scheme has changed. Possibly even the download scheme. I was trying to download this non-geoblocked show, which plays fine in the browser: |
|
They changed the entire streaming platform, but youtube-dl was uploaded to support the new form. drtv obviously changed something else after that update. |
|
A workaround for now is to convert a link to the url URL scheme. It works at least if the show has published prior to the launch of the new DR TV platform.
Try: |
|
Thank you for the workaround that helped fetching the example URL. The issue still needs some work in order to work for new content as well :) |
|
This issue has been solved in the 2020.01.01 release |
|
Sorry. https://www.dr.dk/drtv/program/hugo-og-holger_152801 still won't download. I tried using https://www.dr.dk/drtv/se/troldspejlet-and-co_-star-wars-gyserspil-_-og-iben-hjejle_152168 and that worked. Original issue is still not fixed. |
|
https://www.dr.dk/drtv/program/hugo-og-holger_152801 contains a "play now" button that leads to https://www.dr.dk/drtv/se/hugo-og-holger_152801 and the 2020.01.01 release can download that. I agree that it would be nice that the original url works as well, but the /se/ (danish for "see") URL works fine.. |
|
https://www.dr.dk/drtv/se/saa-er-der-tegnefilm_160544 can't be downloaded. Works fine in my browser, but returns 404 when trying youtube-dl. youtube-dl https://www.dr.dk/drtv/se/saa-er-der-tegnefilm_160544 |
|
the 404 issue was observed with both 2020.02.16 and 2020.03.08 |
Verbose log
youtube-dl -v https://www.dr.dk/drtv/program/hugo-og-holger_152801
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.dr.dk/drtv/program/hugo-og-holger_152801']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.11.28
[debug] Python version 2.7.16 (CPython) - Darwin-18.7.0-x86_64-i386-64bit
[debug] exe versions: avconv 12.3, avprobe 12.3, ffmpeg 4.2.1, ffprobe 4.2.1, rtmpdump 2.4
[debug] Proxy map: {}
[generic] hugo-og-holger_152801: Requesting header
WARNING: Falling back on generic information extractor.
[generic] hugo-og-holger_152801: Downloading webpage
[generic] hugo-og-holger_152801: Extracting information
ERROR: Unsupported URL: https://www.dr.dk/drtv/program/hugo-og-holger_152801
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2372, in _real_extract
doc = compat_etree_fromstring(webpage.encode('utf-8'))
File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2551, in compat_etree_fromstring
doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2540, in _XML
parser.feed(text)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1659, in feed
self._raiseerror(v)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1523, in _raiseerror
raise err
ParseError: mismatched tag: line 5, column 14
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 3347, in _real_extract
raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://www.dr.dk/drtv/program/hugo-og-holger_152801
Description
Fails to download video. Nothing more to add :)