-
Notifications
You must be signed in to change notification settings - Fork 10k
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
CBC News Videos Not Downloading Normally - Missing XML (404 Error) #32758
Comments
This looks like, and is, the problem reported in yt-dlp/yt-dlp#9534. #30839 "if you were actually using yt-dlp ..." However yt-dl also has the problem and we should be able to use the same solution. After revising a WIP PR from several years ago that was never merged to include some of the changes from the yt-dlp PR: python -m youtube_dl -vF 'https://www.cbc.ca/player/play/1.7159486'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-vF', u'https://www.cbc.ca/player/play/1.7159486']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: 8cd66b76f
[debug] Python 2.7.15 (CPython i686 32bit) - Linux-6.1.0-18-686-pae-i686-with-debian-12.5 - OpenSSL 1.1.1a 20 Nov 2018 - glibc 2.1.3
[debug] exe versions: ffmpeg 5.1.4-0, ffprobe 5.1.4-0
[debug] Proxy map: {}
[cbc.ca:player] 1.7159486: Downloading webpage
[ThePlatform] 2324188227929: Downloading SMIL data
[ThePlatform] 2324188227929: Downloading m3u8 information
[ThePlatform] 2324188227929: Downloading JSON metadata
[info] Available formats for 2324188227929:
format code extension resolution note
hls-program_audio-English mp4 audio only [eng]
hls-422 mp4 320x180 422k , avc1.4d400d, 30.0fps, video only
hls-580 mp4 320x180 580k , avc1.640029, 30.0fps, video only
hls-910 mp4 640x360 910k , avc1.640029, 30.0fps, video only
hls-1350 mp4 864x486 1350k , avc1.640029, 30.0fps, video only
hls-2120 mp4 864x486 2120k , avc1.640029, 30.0fps, video only
hls-5640 mp4 1920x1080 5640k , avc1.4d4028, 30.0fps, video only (best)
$ Rather than passing the ID from the URL directly to the video host, we have to extract a media ID from the hydration JSON in the video page. |
Yes, this is the exact same problem. I'll be updating the PR at yt-dlp in a bit, the same changes should be usable here as well. |
I noticed that the video host URLs used by the site contain the query parameter Maybe this is ignored, or maybe it'll start to cause a problem later if ThePlatform withdraws some level of |
IIRC, |
Checklist
Verbose log
Description
When I try to download a video from the CBC News site (NOT CBC Gem), it now gives me a 404 error and says the XML file cannot be found. It was working until recently and I have reverted to using the m3u8 method unless and until this issue is resolved.
The text was updated successfully, but these errors were encountered: