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

Downloading from BBC iPlayer fails #7502

Closed
masseman opened this issue Nov 14, 2015 · 1 comment
Closed

Downloading from BBC iPlayer fails #7502

masseman opened this issue Nov 14, 2015 · 1 comment

Comments

@masseman
Copy link

@masseman masseman commented Nov 14, 2015

I can't download the broadcast on http://www.bbc.co.uk/programmes/p037km32. It worked until October 21st, 2015.

Here's the --verbose output:

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-U', u'http://www.bbc.co.uk/programmes/p037km32', u'--verbose']
[debug] Encodings: locale ANSI_X3.4-1968, fs ANSI_X3.4-1968, out ANSI_X3.4-1968, pref ANSI_X3.4-1968
[debug] youtube-dl version 2015.11.13
[debug] Python version 2.7.3 - Linux-3.10.11-voyage-i586-with-debian-7.3
[debug] exe versions: avconv 0.8.15-6, avprobe 0.8.15-6, ffmpeg 0.8.15-6, ffprobe 0.8.15-6, rtmpdump 2.4
[debug] Proxy map: {}
youtube-dl is up-to-date (2015.11.13)
[bbc.co.uk] p037km32: Downloading video page
[bbc.co.uk] p037km32: Downloading playlist JSON
[bbc.co.uk] p037kq73: Downloading media selection XML
[bbc.co.uk] p037km32: 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 329, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1873, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 407, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 520, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 445, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 528, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

Looking at the HTTP requests with tcpdump, I see that both the GET /mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/p037krbw and the GET /iplayer/playlist/p037kpd4 return HTTP 404.

@dstftw dstftw closed this in d781e29 Nov 14, 2015
@masseman
Copy link
Author

@masseman masseman commented Nov 14, 2015

Thank you so much! With your fix, it's working again.

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
1 participant
You can’t perform that action at this time.