VideoHelp Forum



Support our site by donate $5 directly to us Thanks!!!

Try StreamFab Downloader and download streaming video from Netflix, Amazon!



+ Reply to Thread
Results 1 to 18 of 18
  1. 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"
    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': '*/*',
    }
    The error log:
    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.
    Thanks!
    Quote Quote  
  2. must use a custom script
    Quote Quote  
  3. Originally Posted by shellcmd View Post
    must use a custom script
    Could you share the script, please!
    Quote Quote  
  4. no, i won't and i don't think other people will public it.
    Quote Quote  
  5. Originally Posted by shellcmd View Post
    no, i won't and i don't think other people will public it.
    I understood. Thank you so much for helping me!
    Quote Quote  
  6. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    url?
    Quote Quote  
  7. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    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
    Quote Quote  
  8. Originally Posted by iamghost View Post
    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
    Could you share how to get key, Bro?

    I usually use widevine script to get, It work with almost site, but peacock isn't
    Quote Quote  
  9. Originally Posted by iamghost View Post
    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

    So there is a way! Clearly i am doing something wrong because i can't get the key for it
    Quote Quote  
  10. 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
    Quote Quote  
  11. Originally Posted by T33V33 View Post
    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
    Thanks for the tips!
    Quote Quote  
  12. Originally Posted by zerogravity90 View Post
    Originally Posted by iamghost View Post
    url?
    Sorry, I missed the link. Here it is: https://www.peacocktv.com/watch/playback/vod/GMO_00000000475717_01/e31f4ecb-95d9-3d24-...88?paused=true
    0016a974f73802df42e23f00a9d38999:ca2330d321ccf71f5 d1ce477adee120f
    Quote Quote  
  13. you dont need signature on the license request lmao.


    try change the license url from the cert one to the actual license url
    Quote Quote  
  14. Originally Posted by perwann View Post
    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
    Quote Quote  
  15. Originally Posted by T33V33 View Post
    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
    Thanks for the useful tip!
    Quote Quote  
  16. Originally Posted by Silv3r View Post
    use StreamFab
    Thanks for your suggestion. It's worse case to me if couldn't get keys by script
    Quote Quote  



Similar Threads

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