VideoHelp Forum




+ Reply to Thread
Page 10 of 21
FirstFirst ... 8 9 10 11 12 20 ... LastLast
Results 271 to 300 of 610
  1. Originally Posted by A_n_g_e_l_a View Post

    This section is relevant for both methods of obtaining a CDM

    So I checked my keys were working there;-
    Code:
    https://bitmovin-a.akamaihd.net/content/art-of-motion_drm/mpds/11331.mpd
    this link loaded in a browser will show PSSH keys between <cenc: pssh> html markup and
    Code:
    https://cwip-shaka-proxy.appspot.com/no_auth
    is the license. Edit: 2 Oct 2022 this URL has changed since March and the correct version is above.
    Thanks for that
    Now I can obtain my CDM and use L3
    but there are some websites I can't find license link that are similar that
    Image
    [Attachment 71712 - Click to enlarge]

    is there a solution ?
    Quote Quote  
  2. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Searching for the license is hard on some sites. That's just part of the game we play. Look for a POST request in the network tab and try a filtering on 'widevine' 'authority' 'acquire' and variations of, as well as 'licence' Sometimes you may need to refresh the page a few times 'shift + refresh' or 'ctrl + R' before the licence appears.
    Quote Quote  
  3. Originally Posted by A_n_g_e_l_a View Post
    Searching for the license is hard on some sites. That's just part of the game we play. Look for a POST request in the network tab and try a filtering on 'widevine' 'authority' 'acquire' and variations of, as well as 'licence' Sometimes you may need to refresh the page a few times 'shift + refresh' or 'ctrl + R' before the licence appears.
    On my case I need to download from VdoCipher and inkryptvideos but I have been told that my CDM is old and I need to obtain new one from android 12 as I had one from android 9
    VdoCipher and inkryptvideos don't show in their license link that forms
    the only show token only
    Quote Quote  
  4. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by JackGPT View Post
    Originally Posted by A_n_g_e_l_a View Post
    Searching for the license is hard on some sites. That's just part of the game we play. Look for a POST request in the network tab and try a filtering on 'widevine' 'authority' 'acquire' and variations of, as well as 'licence' Sometimes you may need to refresh the page a few times 'shift + refresh' or 'ctrl + R' before the licence appears.
    On my case I need to download from VdoCipher and inkryptvideos but I have been told that my CDM is old and I need to obtain new one from android 12 as I had one from android 9
    VdoCipher and inkryptvideos don't show in their license link that forms
    the only show token only
    vdocipher uses a unique id formed from parts of the mpd to act as a pseudo-pssh - I understand from others - no direct experience myself

    I have good news for you! Look here https://forum.videohelp.com/threads/409682-Keys-Found-from-a-Database-Search#post2693702 for vdocipher keys

    If you want more help on the sites you mention, better to ask in the main forum - this thread is for beginners and won't get much traffic.
    Quote Quote  
  5. Originally Posted by A_n_g_e_l_a View Post
    Originally Posted by JackGPT View Post
    Originally Posted by A_n_g_e_l_a View Post
    Searching for the license is hard on some sites. That's just part of the game we play. Look for a POST request in the network tab and try a filtering on 'widevine' 'authority' 'acquire' and variations of, as well as 'licence' Sometimes you may need to refresh the page a few times 'shift + refresh' or 'ctrl + R' before the licence appears.
    On my case I need to download from VdoCipher and inkryptvideos but I have been told that my CDM is old and I need to obtain new one from android 12 as I had one from android 9
    VdoCipher and inkryptvideos don't show in their license link that forms
    the only show token only
    vdocipher uses a unique id formed from parts of the mpd to act as a pseudo-pssh - I understand from others - no direct experience myself

    I have good news for you! Look here https://forum.videohelp.com/threads/409682-Keys-Found-from-a-Database-Search#post2693702 for vdocipher keys

    If you want more help on the sites you mention, better to ask in the main forum - this thread is for beginners and won't get much traffic.
    I will see thanks
    and inkryptvideos ?
    Quote Quote  
  6. Wonderful and easy to follow guide; thanks a bunch!
    Quote Quote  
  7. Thank you so much! Got it working with an emulator.
    Quote Quote  
  8. Seeking help with an error using l3.py. Running on Windows 8 (yeah, yeah, it is what it is for now)...

    I can generally follow along but the Python errors are kind of all Greek to me...

    - A very gracious member helped me get a CDM
    - Downloaded WKS-KEY and unpacked it
    - Renamed the CDM files and replaced them in the correct WKS-KEY directory

    - Using DevTools, I believe I found the license URL, headers (put into headers.py) and the PSSH key (<cenc:pssh>...</cenc:pssh>) from .mpd file

    - Did not have Python, downloaded and installed latest Python 3.11.4
    - Some modules needed for l3.py when I try to run it, so I need pip
    - Downloaded https://bootstrap.pypa.io/get-pip.py and then py get-pip.py
    - Path is correctly updated with /Python311 and /Python311/Scripts, so restarted laptop
    - pip install requests
    - pip install xmltodict
    - pip install google
    - pip install google-api-python-client

    All said successfully installed, and then this is the error I'm currently seeing trying to run py l3.py:

    Code:
    Traceback (most recent call last):
      File "C:\key\main\l3.py", line 9, in <module> from pywidevine.L3.cdm import cdm, deviceconfig
      File "C:\key\main\pywidevine\L3\cdm\cdm.py", line 10, in <module> from pywidevine.L3.cdm.formats import wv_proto2_pb2 as wv_proto2
      File "C:\key\main\pywidevine\L3\cdm\formats\wv_proto2_pb2.py", line 33, in <module> _descriptor.EnumValueDescriptor(
      File "...\Python311\Lib\site-packages\google\protobuf\descriptor.py", line 796, in __new___message.Message._CheckCalledFromGeneratedFile()
    TypeError: Descriptors cannot not be created directly.
    If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
    If you cannot immediately regenerate your protos, some other possible workarounds are:
     1. Downgrade the protobuf package to 3.20.x or lower.
     2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
    
    More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
    Wondering if I should use a different version of Python? If anyone has any insight on this, I'd appreciate it, and thank you very much in advance!
    Quote Quote  
  9. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    pip remove protobuf
    pip install protobuf==3.20.3
    Quote Quote  
  10. Originally Posted by A_n_g_e_l_a View Post
    pip remove protobuf
    pip install protobuf==3.20.3
    Thank you! Worked with uninstall

    Now I get:

    Code:
    > py l3.py
    ...
    cdm.py, line 13
    from Cryptodome.Random import get_random_bytes
    ModuleNotFoundError: No module named 'Cryptodome'
    Code:
    > pip install Cryptodome
    ...
    ERROR: No matching distribution found for Cryptodome
    From Google I am seeing that get_random_bytes may be part of some other packages, that is assuming it's the same function and will be compatible, but if I download a different package, do I need to then edit cdm.py?
    Quote Quote  
  11. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    pip install cryptodomex. Don't ask me why?
    Quote Quote  
  12. Originally Posted by A_n_g_e_l_a View Post
    pip install cryptodomex. Don't ask me why?
    Hmm it didn't want to work for me... I guess I will Google some more...

    Got it lol

    Code:
    > pip install pycryptodomex
    Quote Quote  
  13. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    pip install pycryptodome. Sorry memory issues. same for pycryptodomex should you need it

    Next time google 'python provides cryptodome' to avoid VH dependency.
    Quote Quote  
  14. Member
    Join Date
    Jul 2023
    Location
    India
    Search Comp PM
    Originally Posted by joaopa0 View Post
    When I type python3 l3.py in WKS_KEY folder, I receive
    from pywidevine.L3.cdm import cdm, deviceconfig
    ModuleNotFoundError: No module named 'pywidevine.L3'


    Obviously, the folder pywidevine is here.

    Any workaround to fix that?
    i faced this problem
    how i solved it - pip uninstall pywidevine
    Quote Quote  
  15. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    Originally Posted by sarvo99 View Post
    Originally Posted by joaopa0 View Post
    When I type python3 l3.py in WKS_KEY folder, I receive
    from pywidevine.L3.cdm import cdm, deviceconfig
    ModuleNotFoundError: No module named 'pywidevine.L3'


    Obviously, the folder pywidevine is here.

    Any workaround to fix that?
    i faced this problem
    how i solved it - pip uninstall pywidevine
    wks-keys requirements
    Code:
    requests
    xmltodict
    google
    protobuf==3.19.5
    pycryptodomex
    Quote Quote  
  16. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    latest of the 3 series protobuf is my normal recommendation.
    pip install protobuf==3.20.3
    Quote Quote  
  17. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by sarvo99 View Post
    Originally Posted by joaopa0 View Post
    When I type python3 l3.py in WKS_KEY folder, I receive
    from pywidevine.L3.cdm import cdm, deviceconfig
    ModuleNotFoundError: No module named 'pywidevine.L3'


    Obviously, the folder pywidevine is here.

    Any workaround to fix that?
    i faced this problem
    how i solved it - pip uninstall pywidevine
    Good that you did it yourself. Pywidevine and WKS-KEYS do not play nicely together.
    Quote Quote  
  18. Does the processor of the Android TV Box matter? There are really cheap units on Amazon like this one, with Android 12
    The one mentioned in 1st post T95 S1 is only Android 7.1 (so likely that some sites would not play nicely I suspect)
    Quote Quote  
  19. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by sebus View Post
    Does the processor of the Android TV Box matter? There are really cheap units on Amazon like this one, with Android 12
    The one mentioned in 1st post T95 S1 is only Android 7.1 (so likely that some sites would not play nicely I suspect)
    Yes, it matters in that the Android version will have function names for dumper to hook that are unknown. You can find them by inspecting libvwhidl.so but it is more complex than using the Android 7 box and beyond the scope of this guide.
    However there is more help here https://forum.videohelp.com/threads/407196-Dumping-L3-from-Android-10-11-and-12; it applies generally to more modern devices.
    Quote Quote  
  20. code :
    unable to parse, unsupported init data format
    unable to parse init data
    session ID does not exist
    Traceback (most recent call last):
    File "C:\Users\USER\Desktop\WKS_keys\l3.py", line 38, in <module>
    correct, keys = WV_Function(pssh, lic_url)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\USER\Desktop\WKS_keys\l3.py", line 24, in WV_Function
    widevine_license = requests.post(url=lic_url, data=wvdecrypt.get_challenge(), headers=headers.headers)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\USER\AppData\Local\Programs\Python\Pytho n311\Lib\site-packages\requests\api.py", line 115, in post
    return request("post", url, data=data, json=json, **kwargs)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^
    File "C:\Users\USER\AppData\Local\Programs\Python\Pytho n311\Lib\site-packages\requests\api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\USER\AppData\Local\Programs\Python\Pytho n311\Lib\site-packages\requests\sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\USER\AppData\Local\Programs\Python\Pytho n311\Lib\site-packages\requests\sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\USER\AppData\Local\Programs\Python\Pytho n311\Lib\site-packages\requests\adapters.py", line 486, in send
    resp = conn.urlopen(
    ^^^^^^^^^^^^^
    File "C:\Users\USER\AppData\Local\Programs\Python\Pytho n311\Lib\site-packages\urllib3\connectionpool.py", line 714, in urlopen
    httplib_response = self._make_request(
    ^^^^^^^^^^^^^^^^^^^
    File "C:\Users\USER\AppData\Local\Programs\Python\Pytho n311\Lib\site-packages\urllib3\connectionpool.py", line 413, in _make_request
    conn.request_chunked(method, url, **httplib_request_kw)
    File "C:\Users\USER\AppData\Local\Programs\Python\Pytho n311\Lib\site-packages\urllib3\connection.py", line 270, in request_chunked
    for chunk in body:
    TypeError: 'int' object is not iterable

    How Do I fix this?
    Quote Quote  
  21. Member
    Join Date
    Oct 2022
    Location
    Behind You
    Search PM
    Originally Posted by dfield View Post
    How Do I fix this?
    Send the full error including the strings you put into wks-keys.
    Most likely an issue with the data you entered
    I help all that ask.
    Quote Quote  
  22. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by dfield View Post
    code :


    How Do I fix this?
    You look at the error message 'int object not iterable'. The program is expecting a list and it got a single number. My guess 403
    Also my guess you decided to go for the hard ones first. Ask in the general forum for easy sites in your country and try those first to get the process sorted.

    And next time you ask for help remember people cannot read minds. Say what you were doing, and what your inputs were, to get the output you've rather unnecessarily copied.
    Quote Quote  
  23. [delete post please not sure how too]
    Last edited by qruetry; 16th Aug 2023 at 18:43. Reason: figured out
    Quote Quote  
  24. ok got a little problem, when I try to use the "dump_keys.py" it just opens and it automatically closes. When I open up cmd in the dump keys directory and type in python3 dump_keys.py in the cmd, it says "Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases." Is there a way to fix this please?
    Quote Quote  
  25. Originally Posted by XxDarkus101Xx View Post
    ok got a little problem, when I try to use the "dump_keys.py" it just opens and it automatically closes. When I open up cmd in the dump keys directory and type in python3 dump_keys.py in the cmd, it says "Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases." Is there a way to fix this please?
    Install python?
    If it's already installed, try reinstalling it
    Quote Quote  
  26. Got keys from android studio, don't understand this step:

    "Now, in theory you have a working CDM and can generate your own keys. I found an encrypted video to download, located the request headers saved as a cURL and encoded intp python here:- https://curlconverter.com/"

    And don't know how to proceed.
    Last edited by HJPM; 17th Aug 2023 at 20:48.
    Quote Quote  
  27. Image
    [Attachment 73244 - Click to enlarge]
    Originally Posted by ElCap View Post
    Originally Posted by XxDarkus101Xx View Post
    ok got a little problem, when I try to use the "dump_keys.py" it just opens and it automatically closes. When I open up cmd in the dump keys directory and type in python3 dump_keys.py in the cmd, it says "Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases." Is there a way to fix this please?
    Install python?
    If it's already installed, try reinstalling it
    No I have the latest version installed but I just didn't add it to the path variable but now I have this problem:
    Quote Quote  
  28. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by XxDarkus101Xx View Post
    Please do not post the same question in two threads. It just wastes everyone's time.
    Quote Quote  
  29. Attempting to run l3.py gets me the error "No module named xmltodict".
    Quote Quote  



Similar Threads

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