VideoHelp Forum


Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!


Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.


+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 30 of 32
Thread
  1. 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
    Quote Quote  
  2. psaframe
    Join Date
    Mar 2021
    Location
    Algeria
    Search PM
    Put your link here i will help you...
    Quote Quote  
  3. 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>
    Quote Quote  
  4. 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.
    Quote Quote  
  5. Originally Posted by theshakez View Post
    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.

    I couldn't find the MPD link, did you find the MPD from the network tab?

    Also is this a comedy or documentary?
    Quote Quote  
  6. 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
    Quote Quote  
  7. psaframe
    Join Date
    Mar 2021
    Location
    Algeria
    Search PM
    Code:
    pssh: AAAAZnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAEYIARIQAAAAAAAAAAAAAAAAAzI2AxoIcmJtY2g0dHYiJDAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMzMyMzYwMzIA
    Code:
    lic_url: https://c4.eme.lp.aws.redbeemedia.com/wvlicenceproxy-service/widevine/acquire
    PHP Code:
    mpd_urlhttps://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
    Quote Quote  
  8. Originally Posted by theshakez View Post
    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
    Thanks, which browser are you using to get the MPD?

    I've tried both FF and Chrome but nothing appears as soon as i point MPD in the filter dialog box.
    Quote Quote  
  9. 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
    Quote Quote  
  10. 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 lol
    Last edited by theshakez; 10th Jan 2022 at 10:14.
    Quote Quote  
  11. search for mpd in network tab of dev tools in Chrome... it always gives the address
    Quote Quote  
  12. 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!!
    Quote Quote  
  13. Bumping this for a potential solution or help, both herokuapp & wks-key give errors trying to get keys for any all4 content.
    Quote Quote  
  14. Do not send me DM's
    Join Date
    Dec 2021
    Location
    Tórshavn
    Search Comp PM
    Originally Posted by pauli3 View Post
    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
    Quote Quote  
  15. 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.
    Quote Quote  
  16. Originally Posted by BadJoker View Post
    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.
    token from the licence request payload
    Quote Quote  
  17. Is that in the header using the authorization string, or in the license url?

    thanks.
    Quote Quote  
  18. 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"}}
    ...which I then pass to:

    Code:
    license_b64 = json.loads(response.content.decode())['license']
    wvdecrypt.update_license(license_b64)
    This results in an error:
    Code:
    ValueError: Ciphertext with incorrect length.
    Anybody willing to share any pointers where should I go from here? Maybe via a private message.. That would be much appreciated.
    Quote Quote  
  19. Originally Posted by joasis View Post
    ValueError: Ciphertext with incorrect length.
    Last time I got this on udemy, it meant my CDM was revoked. I was trying a lot of semi-failed requests... maybe the same happened to you.
    Maybe.
    Quote Quote  
  20. That's probably the case. Thanks [ss]vegeta!
    Quote Quote  
  21. Member
    Join Date
    Feb 2022
    Location
    United Kingdom
    Search Comp PM
    Originally Posted by T33V33 View Post
    Originally Posted by BadJoker View Post
    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.
    token from the licence request payload
    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.
    And on http://getwvkeys.cc/ I'm getting error 404.

    Can You tell me what I'm doing wrong??
    Quote Quote  
  22. c4 need a proper py to get keys ...
    Quote Quote  
  23. Originally Posted by theshakez View Post
    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
    Did you ever achieve this? If so could you point me in the right direction please?
    Quote Quote  
  24. Member
    Join Date
    Sep 2022
    Location
    spain
    Search PM
    Also interested on this, if someone has the answer tell pls
    Quote Quote  
  25. [Deleted]
    Quote Quote  
  26. Thanks for sharing the script code.
    Quote Quote  
  27. Originally Posted by [ss]vegeta View Post
    Thanks for sharing the script code.
    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 it
    Last edited by PoisonedPi; 4th Feb 2023 at 19:14.
    Quote Quote  
  28. 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)
    Quote Quote  
  29. 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
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!