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
[Attachment 71712 - Click to enlarge]
is there a solution ?
+ Reply to Thread
Results 271 to 300 of 610
-
-
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. -
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
-
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
-
-
pip install pycryptodome. Sorry memory issues. same for pycryptodomex should you need it
Next time google 'python provides cryptodome' to avoid VH dependency. -
-
-
latest of the 3 series protobuf is my normal recommendation.
pip install protobuf==3.20.3 -
-
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. -
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? -
I help all that ask.
-
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. -
[delete post please not sure how too]
Last edited by qruetry; 16th Aug 2023 at 18:43. Reason: figured out
-
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?
-
-
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.
-
[Attachment 73244 - Click to enlarge] No I have the latest version installed but I just didn't add it to the path variable but now I have this problem: -
-
Attempting to run l3.py gets me the error "No module named xmltodict".
Similar Threads
-
widevine decryption help
By birbal1 in forum Video Streaming DownloadingReplies: 2Last Post: 5th Dec 2021, 10:11 -
Help with video download and decryption
By herschel in forum Video Streaming DownloadingReplies: 4Last Post: 26th Jul 2021, 04:31 -
How do I get the decryption key
By Bakekalu in forum Video Streaming DownloadingReplies: 6Last Post: 5th Jul 2021, 01:25 -
Cloudfront video download, decryption?
By Md_95 in forum Newbie / General discussionsReplies: 7Last Post: 5th Apr 2020, 07:53 -
Question about decryption of .m2ts files
By mwalimu in forum Blu-ray RippingReplies: 8Last Post: 23rd Jun 2019, 14:47