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 BBC One-minute World News #12701

Closed
adamryczkowski opened this issue Apr 10, 2017 · 0 comments
Closed

Problem with BBC One-minute World News #12701

adamryczkowski opened this issue Apr 10, 2017 · 0 comments

Comments

@adamryczkowski
Copy link

@adamryczkowski adamryczkowski commented Apr 10, 2017

  • I've verified and I assure that I'm running youtube-dl 2017.04.09
  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Full verbose output

$ youtube-dl http://www.bbc.com/news/10462520 -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'http://www.bbc.com/news/10462520', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.04.09
[debug] Python version 2.7.12 - Linux-4.4.0-72-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: avconv 2.8.11-0ubuntu0.16.04.1, avprobe 2.8.11-0ubuntu0.16.04.1, ffmpeg 2.8.11-0ubuntu0.16.04.1, ffprobe 2.8.11-0ubuntu0.16.04.1
[debug] Proxy map: {}
[bbc] 10462520: Downloading webpage
[bbc] p04zm0zr: Downloading media selection XML
[bbc] p04zm0zr: Downloading m3u8 information
ERROR: An extractor error has occurred. (caused by KeyError(u'url',)); 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/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 429, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/bbc.py", line 828, in _real_extract
    self._sort_formats(formats)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1114, in _sort_formats
    formats.sort(key=_formats_key)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1069, in _formats_key
    protocol = f.get('protocol') or determine_protocol(f)
  File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 2381, in determine_protocol
    url = info_dict['url']
KeyError: u'url'
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 761, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 442, in extract
    raise ExtractorError('An extractor error has occurred.', cause=e)
ExtractorError: An extractor error has occurred. (caused by KeyError(u'url',)); 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.

Description of your issue, suggested solution and other information

Starting from early afternoon 5th of April 2017 the above command ceased to work. Before that it worked flawlessly for at least 12 months. BBC must have changed something in the way they serve their One-minute World News. Maybe they did it specifically to prevent people to scrape their contents without visiting the website manually (and installing the Flash player)? I hope it is easy to fix.

@dstftw dstftw closed this in 1af959e Apr 10, 2017
dstftw added a commit that referenced this issue Apr 10, 2017
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.