but now.......another problem
when i do:
C:\Users\xxxxxxx\Desktop\WKS-KEYS\pywidevine\L3\cdm\devices\android_generic> pywidevine create-device -k device_private_key -c device_client_id_blob -t ANDROID -l3 -o WVD
"pywidevine" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
so is not install properly?????dont understand
+ Reply to Thread
Results 451 to 480 of 609
-
-
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Last edited by marioeivissa; 31st Oct 2023 at 11:21.
-
Yes.
[Attachment 74626 - Click to enlarge]
I am at a loss as to what your issue is and can be of no further help, sorry.Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
this is in windows? doesnt look like
but anyway the Error in the prompt is clear, says more or less pywidewine required 3.7 and less than 3.12, if my version is 3.12 will not work,
and the point is if
i download 3.9python version, i can install general pywidevine 1.6 but i think for some reason pywidewine just call to the main python 3.12 not 3.9, even if a open cdm/prompt inside the folder where is the version 3.9,
im in trouble because i dont want to delete 3.12 because im fear to lose wks keys than is working properly now, i dont want to touch anything,
and the other point is
if i use virtual env, everything looks like the same because i should use virtual evn with at least the version 3.11python
its a shit(sorry for the expresion) because you say in your post: https://forum.videohelp.com/threads/411862-Beyond-WKS-KEYS than you will use for your next scripts the method with general pywidevine installed, so.....troubles for me, jejeLast edited by marioeivissa; 31st Oct 2023 at 11:48.
-
-
Thanks for helping.
I think that version insists on protobuf==3.20.3 and not protobuf==4.x.x which pywidevine uses. To choose that version of WKS-KEYS will lead to future pip version conflicts and python fails if ever pywidevine is installed.
An updated WKS-KEYS with wv_proto_pb complled for protobuf==4.x.x is here https://files.videohelp.com/u/301890/WKS-KEYS.zip
@marioeivissa Inside WKS-KEYS is a basic script - l3.py, which will get keys by using your CDM.Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Sorry to bring back the old dead horse error: ModuleNotFoundError: No module named 'pywidevine.L3'
Read the form with similar error, followed the solution but still same error.
My situation:
Code:PS C:\Python\WKS-KEYS> python l3.py Traceback (most recent call last): File "C:\Python\WKS-KEYS\l3.py", line 15, in <module> from pywidevine.L3.cdm import cdm, deviceconfig ModuleNotFoundError: No module named 'pywidevine.L3'
from pywidevine.L3.cdm import cdm, deviceconfig
My directory structure: PS C:\Python\WKS-KEYS\pywidevine\L3\cdm>
Directory contents of PS C:\Python\WKS-KEYS\pywidevine\L3\cdm>:
Code:PS C:\Python\WKS-KEYS\pywidevine\L3\cdm> ls Directory: C:\Python\WKS-KEYS\pywidevine\L3\cdm Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 11/10/2021 7:40 PM devices d----- 11/10/2021 7:40 PM formats d----- 11/10/2021 7:44 PM __pycache__ -a---- 11/10/2021 7:43 PM 15536 cdm.py -a---- 6/28/2021 10:13 AM 2805 deviceconfig.py -a---- 5/27/2019 4:29 PM 535 key.py -a---- 5/27/2019 4:29 PM 594 session.py -a---- 5/27/2019 4:29 PM 3075 vmp.py -a---- 5/27/2019 4:29 PM 0 __init__.py
-
Do you have by any chance also installed the official pywidevine module? That would explain the error, and is described (including solutions) many times here.
I'd recommend to go the route described by A_n_g_e_l_a here: https://forum.videohelp.com/threads/411862-Beyond-WKS-KEYS -
create an empty file called __init__.py in each directory from the WKS-KEYS folder all the way down to CDM ( I see it is in the CDM folder and maybe others too - only add if missing)
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Thanks Angela. It worked after two steps. My OMG moment!
#1 After I inserted __init__.py empty files in each directory as you suggested got this error:
Code: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).
pip install protobuf==3.20.1
Mamma Mia, it worked!
Obo, I thought I would try your suggestion after Angela's.
Thanks Angela again. -
If you had used WKS-KEYS linked in the first post you wouldn't have had these compatibility issues. I strongly suggest you use this WKS-KEYS (post #1 link) https://files.videohelp.com/u/301890/WKS-KEYS.zip After installation, upgrade protobuf back to 4.x.x. It will allow WKS-KEYS and pip installed pywidevine to live together more easily and cause much less future hassle.
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Thank you for the information that it is best to use WKS-KEYS, which are linked in the first post of the thread,
-
-
I'm really not following this too well!
If pywidevine global is still preventing pywidevine wks-keys from working, you may find setting an env(ironment) in python will correct your issue.
Read this https://forum.videohelp.com/threads/411862-Beyond-WKS-KEYSNoob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
After giving execute program privileges to the Frida server ('chmod +x'), it throws a 'Bad mode' message.
Does anyone know how I can resolve this?
[Attachment 75061 - Click to enlarge] -
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Thanks! I did the first option, which then resulted in a 'Not executable: 64-bit ELF file'. So I switched Frida server to the 32-bit arm (even though my device is 64 bit).
However, when I'm running this Frida server, I get following error on the dump_keys.py:
[Attachment 75066 - Click to enlarge]
Should I use a different Frida server? Where can I find older versions? -
I used Frida 16.1.7 yesterday and it worked fine so it doesn't sound like that's the issue.
-
The guide suggests looking up the architecture of the device you have before downloading Frida-server. Clearly you have a version not compiled for your device.
It's one of these:-
[Attachment 75069 - Click to enlarge]Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
-
If you are only going to want keys to one video from one site and will never ask for keys again, ask your question in a new thread, giving the website URL for the video and as much extra information as you can - such as the mpd, pssh and license url.
But if you expect to need more keys in the future you need to learn how to extract keys yourself.
So, you would read this thread. And then, in general terms you will know how to get your own keys to decrypt videos for simple websites. To further your key getting abilities you read The Dungeon of Despair.
If you study each part carefully over a few nights, and practice some bits shown in the thread, you will know how to answer your own question. If you just flash-read the contents and don't think about what you are reading, you will waste your time
It just needs some hard work from you. Are you up for that?Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
Thanks so much! this is what i need! because i found the url in any random group and i want to learn how to get news when them was changed. I will check your link now, i think i have to get a dazn account and then enter, with something like httptoolkit read or search this info but idk how to get mpd of channels that i dont have access
-
I made an account just to say a HUGE THANK YOU. Your guide, along with some other online resources, got me up and running with decrypting Widevine content. I did find some parts of the guide a little weird, or didn't make total sense, but I figured it all out, and I got it working, and it's all thanks to you. So thank you for putting all this information together.
For the curious, I used a Samsung Galaxy S9 Starlite. Rooting it was no easy task. I originally tried a Nexus 5X, but I couldn't get it working. Widevine was at version 5, so that's probably why, maybe.
I'd recommend skipping the section about using WKS-KEYS and just going straight to using the pywidevine part. WKS-KEYS wasn't able to obtain keys from https://bitmovin.com/demos/drm at all. It gave me an error about protobuf. It appears that there's a new method of getting keys where you have to make two requests, and WKS-KEYS doesn't do this, but pywidevine does.
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