Hi Guys,
I can successfully do Channel 5 - My 5 - using herokuapp.
However I cant seem to get it to work on Channel 4 - All 4 - I just get error 404.
Anyone had success with All 4?
Cheers, Gaz
+ Reply to Thread
Results 1 to 30 of 32
-
-
Thanks!
I'm new to this only started looking at this kind of stuff a couple of days ago so big noob here!!
I'm trying to get this series "Skint" just first episode below.
https://www.channel4.com/programmes/skint/on-demand/53428-001
Channel 5 OD is fine so seems a bit different with All 4
Cheers, Gaz
MPD
https://ak-jos-c4assets-com.akamaized.net/CH4_08_02_900_53428001001004_005/CH4_08_02_900_53428001001004_005_J01.ism/stream.mpd?c3.ri=13636087969448456811&filter=(type =="video"&&((DisplayHeight>=288)&&(DisplayHeight<= 576)))||type!="video"&ts=1641823842&e=600&st=56OiB LGazQwDrzFpd-WxBb3ORE5EP5l8JejYiFOz-Fc&mpd_segment_template=time
PSSH
AAAAZnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAEYIARIQAA AAAAAAAAAAAAAAAzI2AxoIcmJtY2g0dHYiJDAwMDAwMDAwLTAw MDAtMDAwMC0wMDAwLTAwMDAwMzMyMzYwMzIA
LICENCE
https://c4.eme.lp.aws.redbeemedia.com/wvlicenceproxy-service/widevine/acquire
Accept-Encoding: gzip, deflate, br
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
Content-Length: "6281"
Origin: https://www.channel4.com
Referer: https://www.channel4.com/
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36
I get:
ERROR
Error 404:<br> -
Actually it wont let me DL the MPD either - this has happened a few times
This is what YTDL returns
Cheers, Gaz
WARNING: [generic] Could not send HEAD request to https://ak-jos-c4assets-com.akamaized.net/CH4_08_02_900_53428001001004_005/CH4_08_02_900_53428001001004_005_J01.ism/stream.mpd?c3.ri=13508298328590644900&filter=(type ==video&&((DisplayHeight>=288)&&(DisplayHeight<=57 6)))||type!=video&ts=1641824816&e=600&st=Ysli0PYQn kzo0bA0ySzG-XPNlD_3Elv858xMjJ4TJ7E&mpd_segment_template=time: HTTP Error 400: Bad Request
[generic] stream.mpd?c3: Downloading webpage
ERROR: [generic] Unable to download webpage: HTTP Error 400: Bad Request (caused by <HTTPError 400: 'Bad Request'>); please report this issue on https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see https://github.com/yt-dlp/yt-dlp on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output. (caused by <HTTPError 400: 'Bad Request'>); please report this issue on https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see https://github.com/yt-dlp/yt-dlp on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output. -
-
It a documentary series
Yes from the network tab.
MPDs from channel 5 are fine
Channel 5 example is fine:
https://hwdash.channel5.com/cenc/C5378180001/C5378180001A/20211231151839/C5378180001A-tt.mpd
Weird its not finding it on the All 4 stuff -
Code:
pssh: AAAAZnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAEYIARIQAAAAAAAAAAAAAAAAAzI2AxoIcmJtY2g0dHYiJDAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMzMyMzYwMzIA
Code:lic_url: https://c4.eme.lp.aws.redbeemedia.com/wvlicenceproxy-service/widevine/acquire
PHP Code:mpd_url: https://cf.jos.c4assets.com/CH4_08_02_900_53428001001004_005/CH4_08_02_900_53428001001004_005_J01.ism/stream.mpd?c3.ri=13631021427038645404&filter=%28type%3D%3D%22video%22%26%26%28%28DisplayHeight%3E%3D288%29%26%26%28DisplayHeight%3C%3D576%29%29%29%7C%7Ctype%21%3D%22video%22&ts=1641826819&e=600&st=HkjUUxUDFjON6zLTOMDDyKtDHsqxJDcsGyFOKWJ6pdU&mpd_segment_template=time
Code:content key: 00000000000000000000000003323603:8d44cadccc1ac15b9dec500e44e18668
-
-
All4 is far more complicated than my5. All4 requires extra data in the form of json tokens etc and I don't believe that can currently be done with herokuapp.
Also... All4 mpd's are time sensitive. They expire after a few minutes -
WOW!!
Also I still get error 404 on herokuapp what I try to get the keys myself.
Is there a better tool? Obviously don't want to be asking you guys all the time
Cheers Gaz
Thanks again.
Update
Found the new mpd with that Chrome plugin I just found. Again still learning this lolLast edited by theshakez; 10th Jan 2022 at 10:14.
-
search for mpd in network tab of dev tools in Chrome... it always gives the address
-
That worked guys.
So how can I get these keys myself is the some other tool I can use?
Please DM me if these should be private questions.
Thanks again guys!! -
Bumping this for a potential solution or help, both herokuapp & wks-key give errors trying to get keys for any all4 content.
-
See here
https://forum.videohelp.com/threads/404394-Help-with-downloading-Channel-4-All-4#post2644347
Extra info is needed for wks-keys to work -
Just wondered if anyone could PM me what extra is needed for all4, i have sent various JSON requests but i still seem to be missing something minor as headers seem fine, have noticed they seem to have 3 license requests but i keep getting the protobufs error, even with the JSON info correctly formatted in the header.py file, just wondering if a bearer token is needed as well?
Grateful for any tips. -
Is that in the header using the authorization string, or in the license url?
thanks. -
I know it's a hot topic and people get frustrated with the same questions but could someone clear one thing out for me please..
Is it possible to make this work with medvm/widevine_keys (because I've seen people here claim they succeeded)?
When I modify the l3.py file and send the required json payload, I get a license key in a form of:
Code:{"license":"long_license_key","status":{"success":true,"type":"Success"}}
Code:license_b64 = json.loads(response.content.decode())['license'] wvdecrypt.update_license(license_b64)
Code:ValueError: Ciphertext with incorrect length.
-
I tried doing that but I'm getting following errors on widevine_keys-main :-
Code:license response status: <Response [500]> server reports: {"status": {"success": false, "type": "An internal error with the LSP Module occurred"}} server did not issue license, make sure you have correctly pasted all the required headers in the headers.py. Also check json/raw params of POST request.
Can You tell me what I'm doing wrong?? -
-
Hi, I've seen a lot of your useful guides on here regarding DRM/widevine but I am having a lot of difficulty with 4oD/channel 4. Would you mind sharing the script, the mpd link doesn't even seem to work in yt-dlp...
Edit: I have the script for getting the key but it seems impossible to get the mpd to download, I just get Error 400 bad request
I think it's a problem with the parameters but removing anything after filter= just breaks itLast edited by PoisonedPi; 4th Feb 2023 at 19:14.
-
If I remember correctly and I can be totally wrong now but there was a thing where you had to refresh the page few times and you get a different link to mpd that works.
Maybe that still works. Maybe it doesn't. Maybe it wasn't even for C4.
Works fine on my end btw
Code:ytdlp.exe --allow-u "https://ak-jos-c4assets-com.akamaized.net/CH4_42_6_900_73370016001001_002/CH4_42_6_900_73370016001001_002_J01.ism/stream.mpd?c3.ri=13626539298484940417&mpd_segment_template=time&filter=%28type%3D%3D%22video%22%26%26%28%28DisplayHeight%3E%3D288%29%26%26%28systemBitrate%3C4800000%29%29%29%7C%7Ctype%21%3D%22video%22&ts=1662312911&e=600&st=8qlxdb5ec4xMTEsY2HD9iPUkO-ai4BhSx8WP7kFxpJE" WARNING: You have asked for UNPLAYABLE formats to be listed/downloaded. This is a developer option intended for debugging. If you experience any issues while using this option, DO NOT open a bug report [generic] stream.mpd?c3: Downloading webpage WARNING: [generic] Falling back on generic information extractor [generic] stream.mpd?c3: Extracting information [info] stream.mpd?c3: Downloading 1 format(s): video=2961791+audio_eng=128000 WARNING: You have requested merging of multiple formats while also allowing unplayable formats to be downloaded. The formats won't be merged to prevent data corruption. [dashsegments] Total fragments: 470 [download] Destination: stream [stream.mpd?c3].fvideo=2961791.mp4 [download] 3.8% of ~959.80MiB at 4.78MiB/s ETA 03:37 (frag 18/470)
-
Thanks I was being a total idiot and was leaving the quotations marks out, which are supposed to surround the mpd address. I managed to successfully download and decrypt it into an mp4. Everything seems to be perfect, I'm just assuming its the highest bitrate that you can download, as changing the mpd parameters messes it up
Similar Threads
-
Downloading from Channel 5 (My5)
By peteinoz in forum Video Streaming DownloadingReplies: 2Last Post: 25th Oct 2020, 12:39 -
Downloading From Channel 4 and Channel 5
By ChrisSherlock in forum Video Streaming DownloadingReplies: 15Last Post: 22nd Mar 2019, 08:36 -
Convert 6 Channel AAC to 6 Channel AC3
By TheRandomOne in forum AudioReplies: 18Last Post: 4th Jul 2017, 10:40 -
Downloading or Copying Video From History Channel?
By brispuss in forum Video Streaming DownloadingReplies: 23Last Post: 7th Jun 2017, 23:06 -
How to fix audio that jump from channel to channel?
By midts in forum AudioReplies: 2Last Post: 24th Apr 2017, 07:04