Open pete1212 opened 2 years ago
There is an extractor for CBC but (a) it needs to be brought up to date from the yt-dlp version (b) it doesn't handle this page type.
The media details aren't directly available within the non-JS page that yt-dl sees. So we need to trace through to see where the fragment URLs like those you list come from.
If you look at the network tab after reloading the page you should see data of type XHR being fetched by the browser. In the Response tab that appears when you select such a line you may find interesting JSON. If that includes media links, the Request headers and any parameters will also be interesting.
Checklist
Example URLs
https://ici.radio-canada.ca/info/videos/1-8211318/youth-special-29-septembre-1962
Description
Hi, I've been trying to download videos from https://ici.radio-canada.ca, and also searching for solution
Download from here:- https://ici.radio-canada.ca/info/videos/1-8211318/youth-special-29-septembre-1962
Here is the output from youtube-dl when I try:-
I have found a solution and wonder if there is anyway for youtube-dl to extract this information:-
In Firefox (106.0.2) in tab with video (https://ici.radio-canada.ca/info/videos/1-8211318/youth-special-29-septembre-1962) I selected (rt click) Inspect (Q) which brings up a diagnostics bar at bottom of page. From this I selected Network
When I start the video I can see traffic as video is uploaded
If I select a line in the output (rt click)->Copy Value->Copy URL I get the address of one packet of the video Here are 3 lines and it is easy to see the packet sequence Having got that I just used wget to get the packages (note the difference in segment number)
https://rcavmedias.akamaized.net/f48e7190-8919-4dfa-9d06-f9cc534a9fc0/2020-01-15_15_07_02_archivesweb_0001/index_3_av/segment4_3_av.ts https://rcavmedias.akamaized.net/f48e7190-8919-4dfa-9d06-f9cc534a9fc0/2020-01-15_15_07_02_archivesweb_0001/index_3_av/segment5_3_av.ts https://rcavmedias.akamaized.net/f48e7190-8919-4dfa-9d06-f9cc534a9fc0/2020-01-15_15_07_02_archivesweb_0001/index_3_av/segment6_3_av.ts