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

[cbsnews] multiple problems #17318

Closed
2011 opened this issue Aug 23, 2018 · 0 comments
Closed

[cbsnews] multiple problems #17318

2011 opened this issue Aug 23, 2018 · 0 comments
Labels

Comments

@2011
Copy link

@2011 2011 commented Aug 23, 2018

  • I've verified and I assure that I'm running youtube-dl 2018.08.22
  • 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

First, let's try an example URL from /usr/lib64/python3.6/site-packages/youtube_dl/extractor/cbsnews.py

$ youtube-dl -v 'http://www.cbsnews.com/news/artificial-intelligence-positioned-to-be-a-game-changer/'
[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', 'http://www.cbsnews.com/news/artificial-intelligence-positioned-to-be-a-game-changer/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.08.22
[debug] Python version 3.6.5 (CPython) - Linux-4.4.39-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_750_@_2.67GHz-with-gentoo-2.4.1
[debug] exe versions: ffmpeg 3.3.6, ffprobe 3.3.6, rtmpdump 2.4
[debug] Proxy map: {}
[cbsnews] artificial-intelligence-positioned-to-be-a-game-changer: Downloading webpage
ERROR: Unable to extract playlist JSON info; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 792, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib64/python3.6/site-packages/youtube_dl/extractor/common.py", line 502, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib64/python3.6/site-packages/youtube_dl/extractor/cbsnews.py", line 91, in _real_extract
    'playlist JSON info', group='json'), video_id)['state']
  File "/usr/lib64/python3.6/site-packages/youtube_dl/extractor/common.py", line 972, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract playlist JSON info; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Second example (not even recognized as cbsnews):

$ youtube-dl -v 'https://www.cbsnews.com/video/the-wounds-of-war-the-leaning-tower-of-san-francisco-jennifer-lawrence/'
[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', 'https://www.cbsnews.com/video/the-wounds-of-war-the-leaning-tower-of-san-francisco-jennifer-lawrence/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.08.22
[debug] Python version 3.6.5 (CPython) - Linux-4.4.39-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_750_@_2.67GHz-with-gentoo-2.4.1
[debug] exe versions: ffmpeg 3.3.6, ffprobe 3.3.6, rtmpdump 2.4
[debug] Proxy map: {}
[generic] the-wounds-of-war-the-leaning-tower-of-san-francisco-jennifer-lawrence: Requesting header
WARNING: Falling back on generic information extractor.
[generic] the-wounds-of-war-the-leaning-tower-of-san-francisco-jennifer-lawrence: Downloading webpage
[generic] the-wounds-of-war-the-leaning-tower-of-san-francisco-jennifer-lawrence: Extracting information
ERROR: Unsupported URL: https://www.cbsnews.com/video/the-wounds-of-war-the-leaning-tower-of-san-francisco-jennifer-lawrence/
Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 792, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib64/python3.6/site-packages/youtube_dl/extractor/common.py", line 502, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib64/python3.6/site-packages/youtube_dl/extractor/generic.py", line 3280, in _real_extract
    raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: https://www.cbsnews.com/video/the-wounds-of-war-the-leaning-tower-of-san-francisco-jennifer-lawrence/
@dstftw dstftw closed this Aug 23, 2018
@dstftw dstftw added the duplicate label Aug 23, 2018
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
2 participants
You can’t perform that action at this time.