I had an error when getting key form peacocktv, please help me to resolve it,
HTML Code:pssh = "AAAAOHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABgSEAAWqXT3OALfQuI/AKnTiZlI49yVmwY=" lic_url = "https://play.ovp.peacocktv.com/drm/certificate/widevine-peacock.cer"The error log:HTML Code:headers = { 'authority': 'play.ovp.peacocktv.com','sec-ch-ua': '"Google Chrome";v="119", "Chromium";v="119", "Not?A_Brand";v="24"', 'sec-ch-ua-mobile': '?0', 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36', 'sec-ch-ua-platform': '"Windows"', 'Accept': '*/*', }
Thanks!HTML Code:Traceback (most recent call last): File "E:\PrivateSource\TotalDownloader\TotalDownloader\TotalDownloader\bin\Debug\GetKey\l3.py", line 19, in <module> correct, keys = WV_Function(pssh, lic_url) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\PrivateSource\TotalDownloader\TotalDownloader\TotalDownloader\bin\Debug\GetKey\l3.py", line 15, in WV_Function wvdecrypt.update_license(license_b64) File "E:\PrivateSource\TotalDownloader\TotalDownloader\TotalDownloader\bin\Debug\GetKey\pywidevine\L3\decrypt\wvdecryptcustom.py", line 58, in update_license self.cdm.provide_license(self.session, license_b64) File "E:\PrivateSource\TotalDownloader\TotalDownloader\TotalDownloader\bin\Debug\GetKey\pywidevine\L3\cdm\cdm.py", line 275, in provide_license session.session_key = oaep_cipher.decrypt(license.SessionKey) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Xuyen\AppData\Roaming\Python\Python312\site-packages\Cryptodome\Cipher\PKCS1_OAEP.py", line 167, in decrypt raise ValueError("Ciphertext with incorrect length.") ValueError: Ciphertext with incorrect length.
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 18 of 18
-
-
Sorry, I missed the link. Here it is: https://www.peacocktv.com/watch/playback/vod/GMO_00000000475717_01/e31f4ecb-95d9-3d24-...88?paused=true
-
Days of our Lives S59E70
Code:N_m3u8DL-RE -M format=mkv --key 0016a974f73802df42e23f00a9d38999:ca2330d321ccf71f5d1ce477adee120f "https://g003-vod-us-cmaf-prd-fy.cdn.peacocktv.com/pub/global/7Hm/oEQ/PCK_1700505831046-06WV2_01/cmaf/mpeg_cenc/master_cmaf.mpd?c3.ri=3777489513693079810&audio=all&subtitle=all&forcedNarrative=true" --save-name S59E70
-
-
-
Well yes of course there is a way... However, scripts like WKS-Keys etc. won't be able to as they can only be used for sites with basic security. Peacock uses Sky's security system.. i.e. hmac and custom headers (not the headers from the lic url) to be able to get the keys. See if you can find the publically available version of Vinetrimmer and take a look at the code in it to get an idea of what needs to be done
-
-
you dont need signature on the license request lmao.
try change the license url from the cert one to the actual license url -
Do you mean the actual link like this:
https://play.ovp.peacocktv.com/drm/widevine/acquirelicense?bt=42-pCHtIe0IMkG0DkNam3bhC...17TaFtO0TEVhw=
I tried but returned: unable to parse license - check protobufs -
Similar Threads
-
Can't decrypt widevine key
By Tharindu8007 in forum Video Streaming DownloadingReplies: 12Last Post: 29th Jan 2025, 02:13 -
how to get widevine key? (for win11)
By Bobs47 in forum Video Streaming DownloadingReplies: 10Last Post: 13th Aug 2023, 13:27 -
Getting Widevine Key using PHP?
By peterchan7991 in forum Video Streaming DownloadingReplies: 4Last Post: 25th Jan 2023, 10:46 -
Widevine key help
By jhynpls in forum Video Streaming DownloadingReplies: 11Last Post: 28th Jul 2022, 14:56 -
Widevine key not found
By DANNY14596 in forum Video Streaming DownloadingReplies: 15Last Post: 3rd Jun 2021, 23:54