I have used Widevine to get the key
But it doesn't work for new episodes
For episode 1 it works fine
but can't work in episode 5
can someone help me get the key
thanks in advance!!
EP5 PSHH:EP1 PSHH:Code:AAAAZnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAEYIARIQAAAAAAAAAAAAAAAABEcmFxoIcmJtY2g0dHYiJDAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwNDQ3MjYxNzIALicense:Code:AAAAZnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAEYIARIQAAAAAAAAAAAAAAAABEKHYRoIcmJtY2g0dHYiJDAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwNDQyODc2MTIACode:https://c4.eme.lp.aws.redbeemedia.com/wvlicenceproxy-service/widevine/acquire
videositeit doesn't need a subscription to watch, but needs a UK IPCode:https://www.channel4.com/programmes/derry-girls/
+ Reply to Thread
Results 1 to 26 of 26
-
Last edited by qwe199; 11th May 2022 at 19:53.
-
you may find this interesting
-
Put both the files channel4.py and payload.py from the zip file in the same folder....Then run channel4.py.....Follow the instructions as shown in this video
https://anonfiles.com/f3I27af7y8/c4_webm -
The reason episode 1 workd is because someone has made the correct request before and the key has been cached. When you use the same PSSH it finds the cached key and doesn't have to request again.
Episode 5 has not been cached to the database and so its attempting your incorrect request and failing.Last edited by T33V33; 12th May 2022 at 09:29.
-
Last edited by qwe199; 12th May 2022 at 07:47.
-
-
Are you able to give me some pointers? I just get the following:
Code:Traceback (most recent call last): File "C:\channel4\channel4.py", line 139, in <module> start.main() File "C:\channel4\channel4.py", line 99, in main license_request = self.generate_request() File "C:\channel4\channel4.py", line 71, in generate_request r.raise_for_status() File "C:\Program Files\Python39\lib\site-packages\requests\models.py", line 960, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 405 Client Error: Method Not Allowed for url: http://getwvkeys.cc//pssh
-
-
Hey yall, i am a total noob here. And this post seems very relevant to my interest for the channel4 uk videos... I am also trying this channel4.py and I am confused on why it is not working. I went ahead and changed the payload.py to the following:
{
"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="
}
Then i saved the file.
Just so you know i was able to download the encrypted audio and video files from channel 4 using this MPD:
https://cf.jos.c4assets.com/CH4_44_7_900_73856001001002_001/CH4_44_7_900_7385600100100...2v8ecr3vn-OI9M
The License URL:
https://c4.eme.lp.aws.redbeemedia.com/wvlicenceproxy-service/widevine/acquire
PSSH:
AAAAZnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAEYIARIQAA AAAAAAAAAAAAAABGUgCRoIcmJtY2g0dHYiJDAwMDAwMDAwLTAw MDAtMDAwMC0wMDAwLTAwMDAwNDY1MjAwOTIA
when i run the channel4.py i Get the exact same errors... and i am unable to get the Key.... i feel like i am missing something but can someone tell me why i get the following errors when i run the script?
usage: channel4.py [-h] [-url URL] [-pssh PSSH] [--verbose] [--cache] [--buildinfo BUILDINFO]
options:
-h, --help show this help message and exit
-url URL LICENSE URL
-pssh PSSH PSSH
--verbose, -v increase output verbosity
--cache, -c Cache On. default is OFF
--buildinfo BUILDINFO, -b BUILDINFO
Buildinfo
Enter LICENSE URL:https://c4.eme.lp.aws.redbeemedia.com/wvlicenceproxy-service/widevine/acquire
Enter PSSH:AAAAZnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAEYIA RIQAAAAAAAAAAAAAAAABGUgCRoIcmJtY2g0dHYiJDAwMDAwMDA wLTAwMDAtMDAwMC0wMDAwLTAwMDAwNDY1MjAwOTIA
Traceback (most recent call last):
File "C:\Users\ThinkPad\Downloads\ytdlp\channel4.py", line 143, in <module>
start.main()
File "C:\Users\ThinkPad\Downloads\ytdlp\channel4.py ", line 103, in main
license_request = self.generate_request()
File "C:\Users\ThinkPad\Downloads\ytdlp\channel4.py ", line 75, in generate_request
r.raise_for_status()
File "C:\Users\ThinkPad\AppData\Local\Programs\Python\P ython310\lib\site-packages\requests\models.py", line 960, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 405 Client Error: Method Not Allowed for url: http://getwvkeys.cc//pssh
Thank you all for your time. I am pretty close to getting the key i feel like but after searching the forum and getting myself to this point and reading countless hours, i decided to make an account and ask for some help. Thanks. -
@Darthgita your script is out of date: PM sent.
Last edited by A_n_g_e_l_a; 6th Sep 2022 at 05:07. Reason: Thought better of posting the Discord invite for Notaghost's server in public.
-
-
Thank you. I went ahead and went and followed your advice and it will take me about 3 days or so to be verified; however, I've made a little more progress. I was able to extract my l3 from my rooted android note 8 because i found your awesome post!
SO my WKS-KEYS\pywidevine\L3\cdm\devices\android_generic has the two files from my phone replaced as you said
but im confused on the header.py section....
i was able to "curl" from my pc browser and i copied the header information from my curl and just copied the following into my headers.py
headers = {
'authority': 'www.channel4.com',
'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9',
'accept-language': 'en-US,en;q=0.9',
'cache-control': 'max-age=0',
'referer': 'https://www.channel4.com/register/marketing?redirectUrl=https%3A%2F%2Fwww.channel4.c om%2Fprogrammes%2Frick-and-morty%2Fon-demand%2F73856-001',
'sec-ch-ua': '" Not A;Brand";v="99", "Chromium";v="104", "Opera";v="90"',
'sec-ch-ua-mobile': '?0',
'sec-ch-ua-platform': '"Windows"',
'sec-fetch-dest': 'document',
'sec-fetch-mode': 'navigate',
'sec-fetch-site': 'same-origin',
'sec-fetch-user': '?1',
'upgrade-insecure-requests': '1',
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36',
}
i entere the following:
PSSH: AAAAZnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAEYIARIQAA AAAAAAAAAAAAAABGUgCRoIcmJtY2g0dHYiJDAwMDAwMDAwLTAw MDAtMDAwMC0wMDAwLTAwMDAwNDY1MjAwOTIA
LIC URL: https://c4.eme.lp.aws.redbeemedia.com/wvlicenceproxy-service/widevine/acquire
BUT NOW lol, it says unable to parse license. Im getting closer but i am stumped on what to do now.Any tips?? Thank you for your time. I will officially thank you for your "Decryption and the Temple of Doom" thread also. That is how i have come this far mainly thanks to you and Vegeta are very helpful and knowledgeable.
Thanks -
-
well i have a l3 cdm that i was able to extract from my rooted note 8 and i put into the correct path in the
WKS-KEYS\pywidevine\L3\cdm\devices\android_generic the two files i got from the dumper script
i updated the headers.py with the relevant header information from my pc browser as far as i can tell but when the pssh and the lic url are entered in the py l3.py
i receive the message "unable to parse license check protobuffs"
what am i missing to make this personal cdm work?? -
right. so now i have the wks-keys configured correctly with my personal cdm l3 from my rooted phone so if i wanted to go this route while i wait, what should i do because the l3.py should be working from the wks folder shouldnt it? im not sure why i am getting the error if i have done everything correctly: unable to parse license - check protobufs
-
Channel4 requires l3.py modification, there's json data and some other stuff.
The script from half a year ago, still works.
You have some pointers here from dear dark125.
https://forum.videohelp.com/threads/404562-How-to-get-canalplus-com-France-Live-Channels -
for the right person i am sure this is a gold mine of information. my understanding is a little to rudimentary for me to make sense of it all but from what i can gather: the l3 cdm from my phone ( the two files on my computer in the wks-keys android device path) will be able to become the cdm for the request initiated from my phone for the drm media and i am somehow suppose to send this time sensitive token information, request id, mpd, pssh, and vericification url data from my phone request (via adb wifi?) to my computer where i can use and modify the l3.py someway to use that information to generate a key that will be able to mp4decrypt the mpd after downloading the files with yt-dlp and then latter merging with ffmpeg on my pc.. I apologize if this is incorrect and i appreciate any feedback.
I understand my best bet is just using my computer at this point and loging into discord and using the getwvkeys.cc but i am very fascinated by all of this and would love to learn more and any understanding i gain would be truely thanked and appreciated. Anyways. Thank you all for trying to point us noobs in the right direction! -
i overthink a lot lol. I dont mean to tho. =P. I am reading up on python in the meantime because i have no idea what i really need to know to build my own api =)
BUT! i did get verification and i did work everything else out with the channel_4.py and the getwvkeys.cc api ! Thank god. THANK YOU ALL SO MUCH. Confirmed it works and i am watching the video right now. Thank you all so much for your knowledge and the hardwork that you do. The world appreciates all that you do and i am so happy for just helping to get me to this step. Seriously the last 3 days have beeen so challenging for a new user like me but i am so happy to see that key found with the script and the encrypted audio and video decrypted and then joined with ffmpeg after downloading the mpd with yt-dlp. Thanks you all so much! -
-
It seems the video
HTML Code:https://anonfiles.com/f3I27af7y8/c4_webm
Similar Threads
-
PSSH 3 Keys
By ahmedani in forum Video Streaming DownloadingReplies: 4Last Post: 6th May 2022, 11:41 -
Can anyone help with getting keys?
By fisfisa in forum Video Streaming DownloadingReplies: 8Last Post: 1st Mar 2022, 00:33 -
not sure what am doing wrong. can't get keys
By joedecruz in forum Video Streaming DownloadingReplies: 17Last Post: 3rd May 2021, 15:20 -
Windows 10 keys
By sambat in forum Off topicReplies: 5Last Post: 27th Jan 2020, 07:29 -
Convert 6 Channel AAC to 6 Channel AC3
By TheRandomOne in forum AudioReplies: 18Last Post: 4th Jul 2017, 10:40