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
BBC iPlayer downloads failing #23270
Comments
@methodphoto : Currently, there are five radio episodes of "Following the Martian Invasion" available for grabs: E.g. to fetch the last episode (5), I'd use the following command:
... The If you want to fetch the whole series, then create a
Kind regards |
I've raised a PR (#23438) that makes it possible to download entire playlists from BBC iPlayer, which would allow you to download this series using the URL https://www.bbc.co.uk/programmes/b08hdpd9/episodes/player However I raised my PR in December and it hasn't gotten any response. Maybe I did something wrong that has caused it to be ignored by the maintainers. |
The quoted episodes URL https://www.bbc.co.uk/programmes/b08hdpd9/episodes/player is correctly handled by the 2021.02.22 version. So is https://www.bbc.co.uk/programmes/b08hdpd9/episodes (same result). The original series URL https://www.bbc.co.uk/programmes/b08hdpd9 still fails. One could detect a series-format page and punt it by appending However, the top-level failing page has other media items that might have been wanted. So the answer is "always append I believe this issue can be closed. |
youtube-dl -f m4a --verbose "https://www.bbc.co.uk/programmes/b08hdpd9"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-f', u'm4a', u'--verbose', u'https://www.bbc.co.uk/programmes/b08hdpd9']
[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-19.2.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.0.2, ffprobe 4.0.2, rtmpdump 2.4
[debug] Proxy map: {}
[bbc.co.uk] b08hdpd9: Downloading video page
[bbc.co.uk] b08hdpd9: Downloading playlist JSON
[bbc.co.uk] b08hdpd9: Downloading legacy playlist XML
ERROR: Unable to download XML: HTTP Error 404: Not Found (caused by HTTPError()); 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.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 627, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2237, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
The text was updated successfully, but these errors were encountered: