I'm using the latest channel4.py script to try and get the key this programme:
https://www.channel4.com/programmes/adam-and-joes-fourmative-years/on-demand/25372-001
I put my getwvkeys api key in the core_api.py.
I'm using the default-KID:
00000000-0000-0000-0000-000003356237
from the MPD to generate the PSSH with https://tools.axinom.com/generators/PsshBox:
AAAAMnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABISEAAAAA AAAAAAAAAAAAM1Yjc=
I copy the payload from the https://c4.eme.lp.aws.redbeemedia.com/wvlicenceproxy-service/widevine/acquire request:
and paste it in payload.py (replace the lowercase true with True)Code:{ "license": "CAISqAIKOAoQBJbK8KpqFY7rlCF8y9hEzBIQBJbK8KpqFY7rlCF8y9hEzBoAIAEoADiAowVAgKMFSNjbo5sGEhIIARABGAAggKMFKICjBTCAowUaZhIQIO8jy8geeL99SjFxC65SpxpQ5dgxlGbkbZS4E4EBBcAMqN/5JphI0LSO2wzwbho99YFlYlMVwwi9D72D0+twkpsEl4wvINyqkq/pJlrNFRSRHC0CLlHsBUjiPk+5t8eXwx4gARpmChAAAAAAAAAAAAAAAAADNWI3EhBBxuoBowi0Np9iFLYNxS9+GiDOkEzcYW1jv6T80uHPGyOArSgkW7chLYgT2DMgW+P0BiACKAEyAggAQhIKEGtjMTYAAVGAMawi3oAAAAhiAlNEINjbo5sGOABQBRogrjjs6CtJmhqnsbHgr5dlEXtO+IA9haNJoOgHwysbiMUigAE+wOspxL3pYnVZgQ3trXcJpFg+n7mkzNvDM2WANwsPt3C9GLdGMr2oKvc/NF2TdlFKLwpq/glrQpYcsByjowi2LBP0ZghBO8ygwBX7ex2xDqhowzMC6sLLkJJz14jcwa4LUeOZupb8M5ZU3bbYp1LWDgJMRV5u0R0VyBnI8QH7YToyCjAxNy4zLjAgQnVpbHQgb24gTm92IDEgMjAyMiAxNToxMjozNCAoMTY2NzM0MDcyNSlAAUqwAQAAAAIAAACwAAUAEDGsIt4Fj9pWAAAAUgAAABAAAABkAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAFRgAAAAAAAAVGAAAAAAAAAAAAAAAABAAAAugAAABAAAADMAAAAEAAAAN4AAAAQAAAAAAAAAAAAAAEKAAAAEPpWu7i4L6FbuBSU3JfSAOSPPN09MYNvxurR/Vw1aKhIWAE=", "status": { "success": true, "type": "Success" } }
And then I run the script and paste my PSSH and I get...
Please tell me what's going wrong and how do I fix it?Code:>python channel4.py ~ Channel4 [1.4] ~ -- From getwvkeys -- CAUTION : Fill payload.py with latest payload json..[Press any key to continue] Enter PSSH : AAAAMnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABISEAAAAAAAAAAAAAAAAAM1Yjc= [INFO] 07/11/2022 11:37:29 AM - No cached data found [INFO] 07/11/2022 11:37:29 AM - Generating challenge [INFO] 07/11/2022 11:37:31 AM - Getting license response Traceback (most recent call last): File "channel4.py", line 108, in <module> main() File "channel4.py", line 93, in main license_response = post_request(challenge, lic_url) File "channel4.py", line 36, in post_request r.raise_for_status() File "C:\Dev\Python\3.8.2\lib\site-packages\requests\models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://c4.eme.lp.aws.redbeemedia.com/wvlicenceproxy-service/widevine/acquire
EDIT:
It would appear the acquire response is not the same as it used to be. It used to be formatted like so (copy/pasted from https://forum.videohelp.com/threads/405711-Does-anyone-know-how-to-get-the-keys-for-ch...-4#post2666606):
Could that have anything to do with it?Code:{ "request_id": 5585527, "token": "ZWFZVFdUb1lXsJIO4fVJVtNaZL7vVMR7Q-sHPfAAmCM58HFEiOq1-mg-goDbOAeeRpY1ZzxL8NdnEGDRfz4tGQ6dbuVONdc2e9LI_CcX79 u1g_5BLLgpq4nFgojJXVhzxZWyd0Fi2hPmsCrhYNyHZq8uIxUb PYch", "video": { "type": "ondemand", "url": "https://cf.jos.c4assets.com/CH4_44_7_900_73856001001002_001/CH4_44_7_900_73856001001002_001_J01.ism/stream.mpd?c3.ri=13640331703311719638&mpd_segment_ template=time&filter=%28type%3D%3D%22video%22%26%2 6%28%28DisplayHeight%3E%3D288%29%26%26%28systemBit rate%3C4800000%29%29%29%7C%7Ctype%21%3D%22video%22 &ts=1662445355&e=600&st=z80LpnxYVkFN7B4S4dccC-hL1gE4s2v8ecr3vn-OI9M" }, "message": "CAQ=" }
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
+ Reply to Thread
Results 1 to 3 of 3
-
Last edited by hedgehog90; 7th Nov 2022 at 06:12.
-
Copy the request payload instead of the response, it should look like below
Code:{ "request_id": 5585527, "token": "ZWFZVFdUb1lXsJIO4fVJVtNaZL7vVMR7Q-sHPfAAmCM58HFEiOq1-mg-goDbOAeeRpY1ZzxL8NdnEGDRfz4tGQ6dbuVONdc2e9LI_CcX79 u1g_5BLLgpq4nFgojJXVhzxZWyd0Fi2hPmsCrhYNyHZq8uIxUb PYch", "video": { "type": "ondemand", "url": "https://cf.jos.c4assets.com/CH4_44_7_900_73856001001002_001/CH4_44_7_900_73856001001002_001_J01.ism/stream.mpd?c3.ri=13640331703311719638&mpd_segment_ template=time&filter=%28type%3D%3D%22video%22%26%2 6%28%28DisplayHeight%3E%3D288%29%26%26%28systemBit rate%3C4800000%29%29%29%7C%7Ctype%21%3D%22video%22 &ts=1662445355&e=600&st=z80LpnxYVkFN7B4S4dccC-hL1gE4s2v8ecr3vn-OI9M" }, "message": "CAQ=" }
Similar Threads
-
Vdocipher decryption key retrieval
By Diazole in forum Video Streaming DownloadingReplies: 101Last Post: 13th Jun 2025, 13:45 -
Widevine Content Key Decryption
By vfa1 in forum Video Streaming DownloadingReplies: 26Last Post: 12th Jan 2024, 05:23 -
Am I doing this right? (requesting decryption key from license server)
By rajhlinux in forum Video Streaming DownloadingReplies: 56Last Post: 1st Apr 2022, 17:36 -
MPDs file downloaded, I need only the decryption key
By Hammer in forum Video Streaming DownloadingReplies: 2Last Post: 18th Jul 2021, 14:00 -
How do I get the decryption key
By Bakekalu in forum Video Streaming DownloadingReplies: 6Last Post: 5th Jul 2021, 01:25