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

ERROR: no suitable InfoExtractor for URL with newest version #18735

Open
gleb09 opened this issue Jan 4, 2019 · 4 comments
Open

ERROR: no suitable InfoExtractor for URL with newest version #18735

gleb09 opened this issue Jan 4, 2019 · 4 comments

Comments

@gleb09
Copy link

@gleb09 gleb09 commented Jan 4, 2019

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.01.02. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2019.01.02

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

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

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2019.01.02
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.


Description of your issue, suggested solution and other information

Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

I successfully downloaded an audiobook episode from BBC by using:

youtube-dl https://www.bbc.co.uk/sounds/play/m0001t93

However, I found I had done that using the 2018-11-23 version.
So I updated youtube-dl to the newest version with:

youtube-dl --update

and now trying to download the same thing again I get:

youtube-dl https://www.bbc.co.uk/sounds/play/m0001t93
[bbc] m0001t93: Downloading webpage
ERROR: no suitable InfoExtractor for URL https://www.bbc.co.uk/programmes/None

I can't seem to find any documentation on InfoExtractor or other users who have had this error.

@gleb09
Copy link
Author

@gleb09 gleb09 commented Jan 4, 2019

After having a look at the YoutubeDL.py code that error only appears in one place.
Line 826-827:

    else:
        self.report_error('no suitable InfoExtractor for URL %s' % url)

This only happens if the list of ies is empty but the bbc InfoExtractor didn't change from the 2018-11-23 veriosn so I don't know what's going on here.

@bhrgunatha
Copy link

@bhrgunatha bhrgunatha commented Jan 8, 2019

I have the same issue with another BBC URL:

youtube-dl https://www.bbc.co.uk/sounds/play/m0001xqk  

The BBC has most likely changed their site layout or delivery mechanism and the Info Extractor can't find the correct URL instead it gets https://www.bbc.co.uk/programmes/None

@gleb09
Copy link
Author

@gleb09 gleb09 commented Jan 8, 2019

But why would a previous version of ytdl work?

@JonasCz
Copy link

@JonasCz JonasCz commented Oct 30, 2019

I get what seems to be the same issue on this link: https://www.bbc.com/weather/features/49780950

[jonas@Laptop Desktop]$ youtube-dl --verbose https://www.bbc.com/weather/features/49780950
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.bbc.com/weather/features/49780950']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.10.22
[debug] Python version 3.7.4 (CPython) - Linux-4.9.196-1-MANJARO-x86_64-with-arch-Manjaro-Linux
[debug] exe versions: ffmpeg 4.2.1, ffprobe 4.2.1, rtmpdump 2.4
[debug] Proxy map: {}
[bbc] 49780950: Downloading webpage
ERROR: no suitable InfoExtractor for URL https://www.bbc.co.uk/programmes/None
  File "/usr/bin/youtube-dl", line 11, in <module>
    load_entry_point('youtube-dl==2019.10.22', 'console_scripts', 'youtube-dl')()
  File "/usr/lib/python3.7/site-packages/youtube_dl/__init__.py", line 474, in main
    _real_main(argv)
  File "/usr/lib/python3.7/site-packages/youtube_dl/__init__.py", line 464, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 2018, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 807, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 869, in process_ie_result
    extra_info=extra_info)
  File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 830, in extract_info
    self.report_error('no suitable InfoExtractor for URL %s' % url)
  File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 624, in report_error
    self.trouble(error_message, tb)
  File "/usr/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 586, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())
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
3 participants
You can’t perform that action at this time.