youtube-dl: CBS: all videos failing
Checklist
- I’m reporting a broken site support
- I’ve verified that I’m running youtube-dl version 2021.12.17
- 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
Verbose log
using an assetType of Downloadable (not DRM):
https://www.cbs.com/shows/video/YxlqOUdP1zZaIs7FGXCaS1dJi7gGzxG_/
[debug] Command-line args: ['--verbose', 'cbs:YxlqOUdP1zZaIs7FGXCaS1dJi7gGzxG_']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.10.4 (CPython) - Windows-10-10.0.18363-SP0
[debug] exe versions: ffmpeg 2022-06-09-git-5d5a014199-essentials_build-www.gyan.dev
[debug] Proxy map: {}
[CBS] YxlqOUdP1zZaIs7FGXCaS1dJi7gGzxG_: Downloading XML
ERROR: YxlqOUdP1zZaIs7FGXCaS1dJi7gGzxG_: Failed to parse XML (caused by
ParseError('no element found: line 1, column 0'))
same with assetType of StreamPack (not DRM):
https://paramountplus.com/movies/video/wQH9yE_y_Dt4ekDYm3yelhhY2KXvOra_
[debug] Command-line args: ['--verbose', 'cbs:wQH9yE_y_Dt4ekDYm3yelhhY2KXvOra_']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.10.4 (CPython) - Windows-10-10.0.18363-SP0
[debug] exe versions: ffmpeg 2022-06-09-git-5d5a014199-essentials_build-www.gyan.dev
[debug] Proxy map: {}
[CBS] wQH9yE_y_Dt4ekDYm3yelhhY2KXvOra_: Downloading XML
ERROR: wQH9yE_y_Dt4ekDYm3yelhhY2KXvOra_: Failed to parse XML (caused by
ParseError('no element found: line 1, column 0'))
Description
looks like the issue is that these type URLs are now returning empty responses:
I believe this started in the last day or two, not sure if temporary or permanent issue.
About this issue
- Original URL
- State: open
- Created a year ago
- Comments: 24 (11 by maintainers)
If
can.cbs.commeans Canada, then it would make sense to try Canada VPN. I retried the PHP URL with United States and Canada, still failing.Several videos offer both DRM and non DRM streams. For example, the one you’ve commented on, both
DASH_CENC(DRM) andStreamPack(not DRM) are offered. However in addition to the PHP error already discussed, another one has recently occured. If you make aStreamPackrequest, such as:You get an HLS URL, as expected:
https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2020/05/07/1735196227871/0_0_3436402_ful01_2588_503000.mp4.csmil/master.m3u8
but if you actually try to request the HLS, you get:
so it appears that all
StreamPackoptions are dead, either temporarily or permanent, with the cause being an accident or a purposeful action by CBS. So until something changes anyStreamPackoptions are essentially DRM.this is a
Downloadabletype, which might be the only non DRM type still available. Note that previously anHLS_CLEARtype was available as well, but I think those have been dropped, not sure.I plan to work on this some more this weekend. I want to see what a web client is doing on the few non DRM options left, and also check Android client.
@dirkf regarding web clients, if you dont use Safari, or a Safari User-Agent, or another Apple specific browser (I dont know what those would be), then likely you are just going to be served DASH, either Widevine or clear. So using an Apple client, either desktop or mobile is an important point here, for any who might care about HLS formats. I didn’t make time for this over the last couple of days (busy with other stuff), but I will try to look at it this week, unless someone beats me to it.