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 2 of 5
FirstFirst 1 2 3 4 ... LastLast
Results 31 to 60 of 125
Thread
  1. Originally Posted by PSXman_uk View Post
    Code:
    PS C:\Scripts\env\Scripts> python l3.py
    PSSH? AAAAWHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADgIARIQ86Ys7iUsS2edueV7RzCVFyIgQjVhTjlVUGlsYmhBMGFSdE1JbThrV29GNWxVWTdHNTI4AQ==
    License URL? https://cbsi.live.ott.irdeto.com/widevine/getlicense?CrmId=cbsi&AccountId=cbsi&SubCont...c0d7fa%22%2Csu
    Traceback (most recent call last):
      File "C:\Scripts\env\Scripts\l3.py", line 33, in <module>
        licence.raise_for_status()
      File "C:\Users\psxma\AppData\Local\Programs\Python\Python312\Lib\site-packages\requests\models.py", line 1021, in raise_for_status
        raise HTTPError(http_error_msg, response=self)
    requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://cbsi.live.ott.irdeto.com/widevine/getlicense?CrmId=cbsi&AccountId=cbsi&SubCont...c0d7fa%22%2Csu
    PS C:\Scripts\env\Scripts>
    Get an error anybody know whats causing this please
    You did use the authorization header, didn't you?

    Code:
    'authorization': 'Bearer eyJ...'
    Quote Quote  
  2. Code:
    # enter special header values here  in the form  'token':  ' value',   each on one line -  remember the quotes and the comma!
    headers = {
    'authorization': 'Bearer eyJ...,
    }
    SyntaxError: unterminated string literal (detected at line 8)
    Quote Quote  
  3. i think you know that 'eyJ....' means you should replace it to your own token, right? it is a long long string you should paste, not just paste 'eyJ....'
    Last edited by shellcmd; 29th Feb 2024 at 04:40.
    Quote Quote  
  4. so i will give you the exactly headers.py example which you can use directly, just copy and paste it in your headers.py:

    remember use US vpn.
    Last edited by shellcmd; 29th Feb 2024 at 19:37. Reason: expired
    Quote Quote  
  5. Image
    [Attachment 77350 - Click to enlarge]


    So if I get this right I don't change the l3.py script itself just create a headers.py in the script directory inside the env leave the l3.py as A_N_G_E_L_A wrote in the example
    Quote Quote  
  6. Originally Posted by PSXman_uk View Post
    Image
    [Attachment 77350 - Click to enlarge]


    So if I get this right I don't change the l3.py script itself just create a headers.py in the script directory inside the env leave the l3.py as A_N_G_E_L_A wrote in the example
    If you have the updated pywidevine script that uses a .wvd file, the 'headers' is defined inside the script. Old WKS-KEYS imported headers from an external headers.py file.
    Quote Quote  
  7. it does use the .wdv file google_aosp_on_ia_emulator_14.0.0_f22c747e_4464_l3 .wvd ill try the old version as well see if either works at te moment they dont


    in WKS-KEYS get token expired the other one just error's out
    Last edited by PSXman_uk; 29th Feb 2024 at 12:28.
    Quote Quote  
  8. Originally Posted by PSXman_uk View Post
    it does use the .wdv file google_aosp_on_ia_emulator_14.0.0_f22c747e_4464_l3 .wvd ill try the old version as well see if either works at te moment they dont


    in WKS-KEYS get token expired the other one just error's out
    Didn't realize we were on the Beyond WKS-KEYS thread. Well, then of course you need to put your headers there:

    Code:
    # enter special header values here  in the form  'token':  ' value',   each on one line -  remember the quotes and the comma!
    headers = {
        'Accept': '*/*',
    }
    Always make sure you use a fresh token and that your python script is indeed using your US proxy for the request.
    Quote Quote  
  9. Code:
     enter special header values here  in the form  'token':  ' value',   each on one line -  remember the quotes and the comma!
    headers = {
        'Accept': '*/*',
        
        'authorization': 'Bearer eyJhbGciOiJIUzI1NiIsImtpZCI6IjNkNjg4NGJmLWViMDktNDA1Zi1hOWZjLWU0NGE1NmY3NjZiNiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhbm9ueW1vdXNfVVMiLCJlbnQiOlt7ImJpZCI6IkFsbEFjY2Vzc01haW4iLCJlcGlkIjo3fV0sImlhdCI6MTcwOTE5MTAzNiwiZXhwIjoxNzA5MTk4MjM2LCJpc3MiOiJjYnMiLCJhaWQiOiJjYnNpIiwiaXNlIjp0cnVlLCJqdGkiOiJmMjVmMjI1Zi03MzVmLTQ4NjQtYTIwZi0wZjA0YjczZGNkNjEifQ.Hw06vcq9iy8db6ZJWbhZFFK9g2mKdp0iVv8Wn3tNebk',
    }
    Is this right ?
    Quote Quote  
  10. Originally Posted by PSXman_uk View Post
    Code:
     enter special header values here  in the form  'token':  ' value',   each on one line -  remember the quotes and the comma!
    headers = {
        'Accept': '*/*',
        
        'authorization': 'Bearer eyJhbGciOiJIUzI1NiIsImtpZCI6IjNkNjg4NGJmLWViMDktNDA1Zi1hOWZjLWU0NGE1NmY3NjZiNiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhbm9ueW1vdXNfVVMiLCJlbnQiOlt7ImJpZCI6IkFsbEFjY2Vzc01haW4iLCJlcGlkIjo3fV0sImlhdCI6MTcwOTE5MTAzNiwiZXhwIjoxNzA5MTk4MjM2LCJpc3MiOiJjYnMiLCJhaWQiOiJjYnNpIiwiaXNlIjp0cnVlLCJqdGkiOiJmMjVmMjI1Zi03MzVmLTQ4NjQtYTIwZi0wZjA0YjczZGNkNjEifQ.Hw06vcq9iy8db6ZJWbhZFFK9g2mKdp0iVv8Wn3tNebk',
    }
    Is this right ?
    Looks right except for the fact that you don't need the 'Accept' header (it might not make a difference, but sometimes the auth header alone is better). Also the "enter special header values here" line seems uncommented (#), but maybe you just didn't copy-paste the #.
    Quote Quote  
  11. Search, Learn, Download! Karoolus's Avatar
    Join Date
    Oct 2022
    Location
    Belgium
    Search Comp PM
    for CBS I don't use a VPN but a socks5 proxy, and even then only for the key request. The other stuff is not geoblocked.

    You could have a look at these and see if any of them work for you
    http://free-proxy.cz/en/proxylist/country/US/socks5/ping/all
    Quote Quote  
  12. The weird thing with this is if you get the keys you can dl without any proxy flat out in my case using N_m3u8DL-RE but I cant get either wskeys or pywidevine to work correctly even though I'm sure I have al it requires from reading and implementing all the setup as per the stickies.

    I always appreciate the help and am sure it must be something simple at my end just cant see what yet.

    Thank you all
    Quote Quote  
  13. Search, Learn, Download! Karoolus's Avatar
    Join Date
    Oct 2022
    Location
    Belgium
    Search Comp PM
    Originally Posted by PSXman_uk View Post
    The weird thing with this is if you get the keys you can dl without any proxy flat out in my case using N_m3u8DL-RE but I cant get either wskeys or pywidevine to work correctly even though I'm sure I have al it requires from reading and implementing all the setup as per the stickies.

    I always appreciate the help and am sure it must be something simple at my end just cant see what yet.

    Thank you all
    Have you succeeded in getting keys for any other website with that CDM or script? Just to make sure and start from the basics.
    Quote Quote  
  14. Code:
    PS C:\Scripts\env\Scripts> python l3.py
    PSSH? AAAAMnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABISEJvtNKDVg04WusufcGXcYkE=
    License URL? https://cassie.channel5.com/api/v2/licences/widevine/491/C5480740001?expiry=1709299017...5c%22%2Cst%3Dv
    
    --key 9bed34a0d5834e16bacb9f7065dc6241:7474a6901d6ff87704a95b3cea023b6a
    
    --key 686501a746625c8dd97e2230e8758173:7474a6901d6ff87704a95b3cea023b6a
    PS C:\Scripts\env\Scripts>
    Channel 5 video


    Code:
    PS C:\freevine\WKS-KEYS> python l3.py
    
    PSSH: AAAAgHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAGAIARIQuKtAKAO+uOe7zcorjmj1hxoMbWVkaWFraW5kbmJhIjpOQkFfMjAyNDAyMDYyMjM1TkJBX19fX19WSURFT1NfX05CQUVfMjcxOTg0MV9KaXRwX1JlYWNoX0hEMgA=
    License URL: https://cassie.channel5.com/api/v2/licences/widevine/491/C5480740001?expiry=1709299017&tag=66626337656363333531396165613866376636383237653236356334636333323935353766353162&CMCD=ot%3Dk%2Csf%3Dd%2Csid%3D%22922100b6-9e1e-4f5c-b336-4fe39094ac5c%22%2Cst%3Dv
    
    --key 9bed34a0d5834e16bacb9f7065dc6241:7474a6901d6ff87704a95b3cea023b6a
    --key 66aabae3f86e8d1dc4157879c6d2e239:7474a6901d6ff87704a95b3cea023b6a
    PS C:\freevine\WKS-KEYS>
    Quote Quote  
  15. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by PSXman_uk View Post
    Channel 5 video
    Just how your questions relates to any of the initial topic I fail to see. Channel 5 video and l3.py for heavens sake!! Its been done to death on the forum. Use the SEARCH function! The keys you have are spoofs from C5 to frustrate you. L3 .py cannot be used there. The request is more complex and needs extra data sent. Why didn't your reading discover that?

    Do some research ; then ask questions, if you must, in your own thread?
    Then hopefully I won't keep getting pinged by this site announcing a 'reply' when in fact it is no such thing.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  16. Member
    Join Date
    Mar 2024
    Location
    bejing
    Search Comp PM
    Originally Posted by PSXman_uk View Post
    Code:
     enter special header values here  in the form  'token':  ' value',   each on one line -  remember the quotes and the comma!
    headers = {
        'Accept': '*/*',
        
        'authorization': 'Bearer eyJhbGciOiJIUzI1NiIsImtpZCI6IjNkNjg4NGJmLWViMDktNDA1Zi1hOWZjLWU0NGE1NmY3NjZiNiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhbm9ueW1vdXNfVVMiLCJlbnQiOlt7ImJpZCI6IkFsbEFjY2Vzc01haW4iLCJlcGlkIjo3fV0sImlhdCI6MTcwOTE5MTAzNiwiZXhwIjoxNzA5MTk4MjM2LCJpc3MiOiJjYnMiLCJhaWQiOiJjYnNpIiwiaXNlIjp0cnVlLCJqdGkiOiJmMjVmMjI1Zi03MzVmLTQ4NjQtYTIwZi0wZjA0YjczZGNkNjEifQ.Hw06vcq9iy8db6ZJWbhZFFK9g2mKdp0iVv8Wn3tNebk',
    }
    Is this right ?
    I also encountered this error code
    requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://ottapp-appgw-amp.nba.com/v1/client/get-widevine-license?ownerUid=azuki&mediaId...3&is_dvr=false
    but my header is‘t authorization,how i slove this problem.
    Quote Quote  
  17. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    You guys need to use httptoolkit and watch the interaction as a browser loads the page. You'll be able to see the JSON exchange (probably) and headers. Then you can answer your own questions.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  18. Member
    Join Date
    Mar 2024
    Location
    bejing
    Search Comp PM
    Originally Posted by PSXman_uk View Post
    Video url ?
    This url:https://www.nba.com/watch/video/2016-dunk-contest-lavine-vs-gordon-best-ever
    Pssh:AAAAgHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAGAIA RIQlk9C5GY4kyszQnRh8TZFnxoMbWVkaWFraW5kbmJhIjpOQkF fMjAyMzAxMjkwOTM3TkJBX19fX19WSURFT1NfX05CQUVfMjYzM Dk0MV9KaXRwX1JlYWNoX0hEMgA=
    license url:https://ottapp-appgw-amp.nba.com/v1/client/get-widevine-license?ownerUid=azuki&mediaId...3&is_dvr=false
    Quote Quote  
  19. Originally Posted by jay_670 View Post
    Originally Posted by PSXman_uk View Post
    Video url ?
    This url:https://www.nba.com/watch/video/2016-dunk-contest-lavine-vs-gordon-best-ever
    Pssh:AAAAgHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAGAIA RIQlk9C5GY4kyszQnRh8TZFnxoMbWVkaWFraW5kbmJhIjpOQkF fMjAyMzAxMjkwOTM3TkJBX19fX19WSURFT1NfX05CQUVfMjYzM Dk0MV9KaXRwX1JlYWNoX0hEMgA=
    license url:https://ottapp-appgw-amp.nba.com/v1/client/get-widevine-license?ownerUid=azuki&mediaId...3&is_dvr=false
    You're already getting support here, don't post the same problem in multiple threads.
    Quote Quote  
  20. Anonymous84
    Guest
    --
    Last edited by Anonymous84; 8th May 2024 at 18:28. Reason: --
    Quote Quote  
  21. Code:
    (env) C:\Users\Admin>pywidevine create-device -k device_private_key  -c device_client_id_blob -t ANDROID -l3 -o WVD
    Traceback (most recent call last):
      File "C:\Users\Admin\AppData\Local\Programs\Python\Python37\Lib\runpy.py", line 193, in _run_module_as_main
        "__main__", mod_spec)
      File "C:\Users\Admin\AppData\Local\Programs\Python\Python37\Lib\runpy.py", line 85, in _run_code
        exec(code, run_globals)
      File "C:\Users\Admin\env\Scripts\pywidevine.exe\__main__.py", line 4, in <module>
      File "c:\users\admin\env\lib\site-packages\pywidevine\__init__.py", line 5, in <module>
        from .remotecdm import *
      File "c:\users\admin\env\lib\site-packages\pywidevine\remotecdm.py", line 8, in <module>
        import requests
      File "c:\users\admin\env\lib\site-packages\requests\__init__.py", line 43, in <module>
        import urllib3
      File "c:\users\admin\env\lib\site-packages\urllib3\__init__.py", line 42, in <module>
        "urllib3 v2.0 only supports OpenSSL 1.1.1+, currently "
    ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.1.0i  14 Aug 2018'. See: https://github.com/urllib3/urllib3/issues/2168
    
    (env) C:\Users\Admin>
    Sorry, I dont know how to solve this problem?
    Quote Quote  
  22. Originally Posted by zhoubo518 View Post
    Code:
      File "c:\users\admin\env\lib\site-packages\urllib3\__init__.py", line 42, in <module>
        "urllib3 v2.0 only supports OpenSSL 1.1.1+, currently "
    ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.1.0i  14 Aug 2018'. See: https://github.com/urllib3/urllib3/issues/2168
    
    (env) C:\Users\Admin>
    Sorry, I dont know how to solve this problem?
    I'm not sure but try running these commands

    Code:
    pip uninstall urllib3
    pip install urllib3==1.26.7
    Quote Quote  
  23. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by zhoubo518 View Post
    pywidevine create-device -k device_private_key -c device_client_id_blob -t ANDROID -l3 -o WVD
    Remove the red minus and try again.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  24. Originally Posted by [ss]vegeta View Post
    Originally Posted by zhoubo518 View Post
    Code:
      File "c:\users\admin\env\lib\site-packages\urllib3\__init__.py", line 42, in <module>
        "urllib3 v2.0 only supports OpenSSL 1.1.1+, currently "
    ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.1.0i  14 Aug 2018'. See: https://github.com/urllib3/urllib3/issues/2168
    
    (env) C:\Users\Admin>
    Sorry, I dont know how to solve this problem?
    I'm not sure but try running these commands

    Code:
    pip uninstall urllib3
    pip install urllib3==1.26.7
    Code:
    (env) C:\Users\Admin>pywidevine create-device -k device_private_key -c device_client_id_blob -t ANDROID -l3 -o WVD
    INFO:root:pywidevine version 1.7.0 Copyright (c) 2022-2024 rlaphoenix
    INFO:root:https://github.com/devine-dl/pywidevine
    Usage: pywidevine create-device [OPTIONS]
    Try 'pywidevine create-device --help' for help.
    
    Error: key: Not a path to a file, or it doesn't exist.
    
    (env) C:\Users\Admin>
    Thanks, but it doesnt work. WDV is empty folder. No device_private_key and the device_client_blob found and how to find device_private_key and a device_client_blob?
    Quote Quote  
  25. Originally Posted by A_n_g_e_l_a View Post
    Originally Posted by zhoubo518 View Post
    pywidevine create-device -k device_private_key -c device_client_id_blob -t ANDROID -l3 -o WVD
    Remove the red minus and try again.
    Code:
    (env) C:\Users\Admin>pywidevine create-device -k device_private_key -c device_client_id_blob -t ANDROID l3 -o WVD
    INFO:root:pywidevine version 1.7.0 Copyright (c) 2022-2024 rlaphoenix
    INFO:root:https://github.com/devine-dl/pywidevine
    Usage: pywidevine create-device [OPTIONS]
    Try 'pywidevine create-device --help' for help.
    
    Error: Missing option '-l' / '--level'.
    
    (env) C:\Users\Admin>
    No work too.
    Quote Quote  
  26. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by zhoubo518 View Post

    No work too.
    Sorry bad advice!! The minus is required.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  27. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by zhoubo518 View Post

    No device_private_key and the device_client_blob found and how to find device_private_key and a device_client_blob?
    Are you saying you do not have your own device_private_key and a device_client_blob
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  28. Originally Posted by A_n_g_e_l_a View Post
    Originally Posted by zhoubo518 View Post

    No device_private_key and the device_client_blob found and how to find device_private_key and a device_client_blob?
    Are you saying you do not have your own device_private_key and a device_client_blob
    Yes. How can I get these files?
    Quote Quote  
  29. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by zhoubo518 View Post
    Originally Posted by A_n_g_e_l_a View Post
    Originally Posted by zhoubo518 View Post

    No device_private_key and the device_client_blob found and how to find device_private_key and a device_client_blob?
    Are you saying you do not have your own device_private_key and a device_client_blob
    Yes. How can I get these files?
    Well you can start by being a bit more awake. The very first post in the forum is https://forum.videohelp.com/threads/408031-Dumping-Your-own-L3-CDM-with-Android-Studio
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  



Similar Threads

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