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

just realized that the CNBC extractor does not work at all #25924

Open
2011 opened this issue Jul 7, 2020 · 0 comments
Open

just realized that the CNBC extractor does not work at all #25924

2011 opened this issue Jul 7, 2020 · 0 comments

Comments

@2011
Copy link

@2011 2011 commented Jul 7, 2020

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.06.16.1
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones
$ youtube-dl -v -f best 'https://www.cnbc.com/video/2020/07/07/covid-19-outbreak-in-victoria-a-severe-risk-to-market-sentiment-amp.html'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--restrict-filenames', '-o', '%(title)s-%(id)s-%(uploader)s.%(ext)s', '-w', '-v', '-f', 'best', 'https://www.cnbc.com/video/2020/07/07/covid-19-outbreak-in-victoria-a-severe-risk-to-market-sentiment-amp.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.06.16.1
[debug] Python version 3.6.10 (CPython) - Linux-4.4.221-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_750_@_2.67GHz-with-gentoo-2.4.1
[debug] exe versions: ffmpeg 3.4.6, ffprobe 3.4.6, rtmpdump 2.4
[debug] Proxy map: {}
[CNBCVideo] covid-19-outbreak-in-victoria-a-severe-risk-to-market-sentiment-amp: Downloading webpage
ERROR: no suitable InfoExtractor for URL http://video.cnbc.com/gallery/?video=video id
  File "/usr/lib/python-exec/python3.6/youtube-dl", line 11, in <module>
    load_entry_point('youtube-dl==2020.6.16.1', 'console_scripts', 'youtube-dl')()
  File "/usr/lib64/python3.6/site-packages/youtube_dl/__init__.py", line 474, in main
    _real_main(argv)
  File "/usr/lib64/python3.6/site-packages/youtube_dl/__init__.py", line 464, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/lib64/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 2019, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/lib64/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 808, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/lib64/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 870, in process_ie_result
    extra_info=extra_info)
  File "/usr/lib64/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 831, in extract_info
    self.report_error('no suitable InfoExtractor for URL %s' % url)
  File "/usr/lib64/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 625, in report_error
    self.trouble(error_message, tb)
  File "/usr/lib64/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 587, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

I don't really understand why youtube-dl wants to go to video.cnbc.com. The downloaded file of the URL specified on the command line containns the .m3u8 location, albeit with some decoding (replacing '\u002f' with '/') required. The generic extractor downloads the video correctly when passed this .m3u8 location.

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.