-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Cannot download from CBS #26993
Comments
|
@remitamine The episode you tested with does indeed work, but the example provided by @icebluey does not. CBS appears to be using DRM on some episodes and not others. "https://www.cbs.com/shows/ncis-new-orleans/video/_2DEJoZKRPsStgPJrekAJ5wMph_qM2jO/ncis-new-orleans-something-in-the-air-part-2/" shows the same errors, but last week's "https://www.cbs.com/shows/ncis-new-orleans/video/yGX8nbL8Db3KBG2nhau03g4i5tqV3_iU/ncis-new-orleans-something-in-the-air-part-i/" works just fine. |
Same problem here:
|
sorry, used the wrong URL, anyway, youtube-dl does not support DRM protected videos. |
What I'm hoping to impress on everyone is that the "Could not find XML Element" error, being reported so often from CBS.com, cannot be a DRM issue. It just makes no sense, for these reasons:
Examples of CBS videos that youtube-dl/c could not download before, but now can. It would be weird in the extreme for CBS to add DRM, then remove it days later. https://www.cbs.com/shows/the-neighborhood/video/hybfwzvq_TWhJJSE4FXfT_vQB9Ky3Sr_/the-neighborhood-welcome-to-the-movement/ Examples of CBS videos that youtube-dl/c can't download today. These show that the youtube-dl patch mentioned by @october262 has not addressed this issue. Also, youtube-dlc downloads the list above, but not below. https://www.cbs.com/shows/ncis/video/656bTfET07GnL8vgDviQnyaOwGKdaF2W/ncis-sturgeon-season/ Examples of CBS videos that work just fine today. Notice that one of these is subscription-only. It would be weird in the extreme for CBS to add DRM to OTA video, but not subscription. Notice also that this video and the others are newer than the failures above. It would be weird in the extreme for CBS to add DRM to older videos, but not newer. https://www.cbs.com/shows/bob-hearts-abishola/video/e3Dis09PuIcoec0ADzv7XKJGsEtw9vhw/bob-hearts-abishola-camp-bananas/ The only logical conclusion is that this is not, in fact, a DRM issue. It seems like stamping a problem "DRM" is always the simplest answer, but it just makes no sense, here. I wish I was better with Python so that I could be more help, but I hope that someone who is can see the logic of my argument. |
# youtube-dl --verbose -F 'https://www.cbs.com/shows/ncis_los_angeles/video/E5K1axpPL3HdytmevkBuLXcA0oukx_KH/ncis-los-angeles-war-crimes/'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '-F', 'https://www.cbs.com/shows/ncis_los_angeles/video/E5K1axpPL3HdytmevkBuLXcA0oukx_KH/ncis-los-angeles-war-crimes/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.11.12
[debug] Python version 3.7.8 (CPython) - Linux-5.9.8
[debug] exe versions: ffmpeg, ffprobe
[debug] Proxy map: {}
[CBS] E5K1axpPL3HdytmevkBuLXcA0oukx_KH: Downloading XML
ERROR: Could not find XML element title; 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/YoutubeDL.py", line 797, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 532, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/cbs.py", line 112, in _real_extract
return self._extract_video_info(content_id)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/cbs.py", line 62, in _extract_video_info
title = xpath_text(video_data, 'videoTitle', 'title', True)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1910, in xpath_text
n = xpath_element(node, xpath, name, fatal=fatal, default=default)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1903, in xpath_element
raise ExtractorError('Could not find XML element %s' % name)
youtube_dl.utils.ExtractorError: Could not find XML element title; 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.
The text was updated successfully, but these errors were encountered: