Analyze the extractors of yt-dlp
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 31 to 60 of 103
Thread
-
I can't quite see how that's given information with regard to my actual question of 2 posts above.
Last edited by deccavox; 24th Nov 2022 at 15:20.
-
bro, the thing is you're asking a question that is answered in the very first post of this thread - use http toolkit
it will show you all the requests and then you can start thinking up a solution
using it i recently cooked up a python script based on the old parnexcodes script (because i'm bad at python so doing it from scratch would be a pain) for downloading from tv5mondeplus where all i need to input is the id of the video (so not the url, but the id is in the url) and an output name and the script gets the keys, downloads the video, subtitles, decrypts and muxes it all together -
-
Hello
I still know almost nothing about py and networks
I would like to adapt your script to Auvio and Rtlplay
I would also like to automate the procedure as much as possible
I have read a lot and searched on the forums but I am far from understanding everything and the time it is the case, I am not ready to get there and then I do not seek to become an expert ...
Could you help me please?
Thanks a lot! -
I was in the same position as you this time last year. I read the forum for a month or more trying to make sense of how people were getting keys and decrypting videos.
My advice is read the forum as much as possible and keep doing so until you start to make sense of it. If you have no knowledge of python, no matter. Do you know of any other computer language? Because the concepts are the same. If not, as well as reading this forum, check out learning python at https://www.w3schools.com/python/default.asp
You say you want to adapt a script - that's not a bad place to start, but do it all by hand first so you know what the processes are.
No one can directly answer your questions because they are too broad and you, yourself, don't really know how to frame them because you haven't read the forum enough. It is hard work. -
Thank you
Indeed it's not easy and I really did a lot of tests and widevine-dl seems to work well for the channels I talked about, but I still have to find the keys and for that I need to understand elements like what is a key and an api-key and a token
I have read your tutorial and I have learned some things but the fact that I don't know py and I don't understand other points yet, don't allow me to understand the scripts and the requests.
It's going to take me a long time to understand all this, but it's already difficult for those who know it... -
an API is an Application Programming Interface - it allows your computer to send and receive specific types of messages to and from remote computers. They are written in a computer language and only allow a very specific and small set of interactions. https://en.wikipedia.org/wiki/API
An API-key is a short string of, usually, letters and numbers - alphanumerics - that is given to you by the owner of the API. When you send a message to use the API, the key proves you have the right to access the remote computer. Getwvkeys.cc, the decryption key service on-line, uses an API; when you become accredited you will get a key allowing you to use the API. The key is sent to the back to API along with your html request message.
A token is again a proof that you have some right to the media you are trying to download. A token may also be a coded message ( take care if you post any on-line) - the one below is base64 encoded. A token is mainly given freely by a website but unless you send the token back, in your request to the remote website, they will refuse you.
Here is an example of a token carried in the mpd url (scroll to see it) -
Code:https://ssaimanifest.prod.boltdns.net/eu-west-1/playback/once/v1/hls/v4/clear/1486976045/c64b3f6c-d36a-44ce-92ea-e7a9a68d436d/99b1033e-a10d-40d1-82b4-92bb7a3d92dd/cd6a78aa-34fa-4587-ad1d-a80fe3693848/content.m3u8?bc_token=NjNkNzhlNDhfMWY2NjI1ODUyMTZhMjQ0ODdmZGE1YmMwOTliMDM5ZmQyYWIwYWIyZmFiODMyYTQ4YmFiZjBjMmIxZmE5M2I3MQ%3D%3D
but it's already difficult for those who know it...
[edit]
Finally, on getwvkeys Discord there are some scripts for some of Belgium's media and possibly being nice to their author might bring reward - who knows. I
I see you have already asked these questions on Discord getwvkeys and people are helping you there. It is very impolite to waste everyone's time here!
I'm out.Last edited by A_n_g_e_l_a; 30th Jan 2023 at 12:47. Reason: Question already answered on Discord. Pillock.
-
This goes out to anybody just starting. I was in exactly the same boat as you Gene. A year ago or so I knew nothing about programming in Python and really nothing about how a browser and server interact with each other. Apart from the few ready made solutions on here and Github, I really struggled. But, I did as Angela did. I took it upon myself to learn Python (and I'm over 70 years old with no modern programming knowledge, so if I can do it, anybody can). There's a miriad of good tutorials on YouTube I used just to get the feel of it. Start with the basic stuff. But then I decided I needed a structured course, so I used https://blog.teclado.com/30-days-of-python/
Angela's course suggestion is also excellent. Both let you have hands on experience (they have exercises) which is essential to learn.
Believe you me, I constantly forget topics I have learned if I haven't used them for a while, so if I want refreshers on topics I search on YT. I have also created a database of the topics that I can use a reference.
I also have "studied" the relevant posts on here and the scripts. Many are still "foreign" to me and are hard to understand. But with time, I'll get there. There's been many a time when something's suddenly clicked and I've thought, ah, now I understand. I still struggle with interpretation of requests vs responses and how to extract certain information from them. But, I'll get there.
It's all practice practice practice (unless you're a genius).
So, I'm afraid, you'll have to get your hands dirty Gene. There's no quick fix I'm afraid. -
To add to the list of recommended courses for free
https://futurecoder.io/
and https://www.sololearn.com/
Additional tip, get into debugging. Waaaay to many people stumble over themselves and fail to spot their own errors. It happens to us all, but getting good at debugging is probably the most important thing to grasp.
get comfortable around a good but not too powerful or resource heavy IDE (although I'm still partial to using Kate on Plasma with ide plugins) but Pycharm or if it's still around Atom. Vscode or even https://vscodium.com/ too.
And most importantly, do not panic, and do not think you know it all. Python is a deeep language, and it's only the tip of the sinking wreck, there's php which is a better tool for this sort of stuff, but it's not as intuitive.Last edited by Sorenb; 30th Jan 2023 at 08:06.
-
Yes, good tip with regard to debugging. Let it tell you where you've f***ked up instead of guessing.
I personally use VS Code as an IDE. -
Another vote here for VScode. It lets you run your program, in a debug mode, interactively by setting breakpoints. At some breakpoint you can then view the value of variables and see if they are what you think they should be. VScode has found errors for me that were very deeply buried.
-
-
-
Thanks a lot for your explanations!
But if I come here to ask for help, it's because I read your tuto and I thought that having your explanation would be a plus and that it would help me to find my way with more information...
I'm sorry if you took it the wrong way but I did it because I learned again thanks to you!
Sorry again and no I didn't get the same answers on discord as here, it's complementaryLast edited by Gene; 30th Jan 2023 at 14:38.
-
Thank you for your advice!
Indeed you are right, I've been learning other languages for years but sometimes I lose my patience, especially here where I'm only trying to access two strings and then, I'll still be interested in python for sure but I've got other things to do and so I'm trying to get as much help as possible in this case...
Believe me, I'm not a genius but in general I'm very persevering !Last edited by Gene; 30th Jan 2023 at 14:36.
-
Thank you very much for your advice!
I'm going to check it all out
Yes, good tip with regard to debugging. Let it tell you where you've f***ked up instead of guessing.
I personally use VS Code as an IDE.Another vote here for VScode. It lets you run your program, in a debug mode, interactively by setting breakpoints. At some breakpoint you can then view the value of variables and see if they are what you think they should be. VScode has found errors for me that were very deeply buried.
Yeah, I noticed that earlier and came back to fix it ... installed.
I have two Pihole DNS servers on my network; MS don't get telemetry from me!
I would like to know if when we get the key and once we have the mp4, do we have to decrypt right away or can we do it later?
In other words, is the decryption done online or on the pc?
Is the mp4 with a fixed mdp url always the same each time we download it or does its encryption change?Last edited by Gene; 30th Jan 2023 at 14:49. Reason: add question
-
Well, put it this way, you have the encypted file, and the key.
Do you reckon the cipher key can change on a static file on your own machine?
The key generated at the time of download (keeping it simple here nitpickers) will work on that particular video no matter the distance from download to decryption. -
-
Well, put it this way, you have the encypted file, and the key.
Do you reckon the cipher key can change on a static file on your own machine?
The key generated at the time of download (keeping it simple here nitpickers) will work on that particular video no matter the distance from download to decryption.
But if at the time of the download we have both, can we put it in the freezer?
...And yes on some channels the keys expire but once you're in it's ok I guess -
Eh, no. You're overcomplicating your thinking here.
the encryption key may change depending on the server setup that is utilised by the streaming service. The encryption is applied by the streamers chosen licence server
Most streaming services keep the kid:key pair for the individual videos unchanged. While others have a short lived token that will will change at every play.
But, this only applies to the online playback of the video and obtaining the kid:key pair.
Once you download the video file, the kid:key pair at the time of download will always work on that downloaded video. -
Thanks for the explanations!
Now I will try to understand how to get it for the strings I was talking about, because for the moment my tests did not give any result. And I continue -
Sorry, post not relevant. Cancelled
Last edited by deccavox; 31st Jan 2023 at 09:32.
-
double error
Last edited by A_n_g_e_l_a; 31st Jan 2023 at 10:18.
-
In fact, this is my fear:
I wonder how we can achieve a result, assuming that
- you have to understand how/what to find the necessary information on the website of the channel...
- to find the right py script(s) or others...
- and in combination with which other py or other exe...
So if we combine the three tracks, it gives a tested script without knowing if it is it that does not work or if it is the information of the requests that are not good and this without knowing either with which other py to use... and of course if they work...
And finally, you have to understand the py because it's new for me
When do you think?
Am I wrong ?
How long do you think it will take ? -
You are again over complicating your thinking.
Focus on one site. ONE.
And take your time.
BTW, I'll be honest after this
So if we combine the three tracks, it gives a tested script without knowing if it is it that does not work or if it is the information of the requests that are not good and this without knowing either with which other py to use... and of course if they work...
Similar Threads
-
Decryption and the Temple of Doom
By A_n_g_e_l_a in forum Video Streaming DownloadingReplies: 483Last Post: 7th Dec 2023, 10:39 -
An issue with mp4 decryption
By CrymanChen in forum Video Streaming DownloadingReplies: 16Last Post: 27th Apr 2022, 07:43 -
widevine decryption help
By birbal1 in forum Video Streaming DownloadingReplies: 2Last Post: 5th Dec 2021, 11:11 -
Help with video download and decryption
By herschel in forum Video Streaming DownloadingReplies: 4Last Post: 26th Jul 2021, 05:31 -
How do I get the decryption key
By Bakekalu in forum Video Streaming DownloadingReplies: 6Last Post: 5th Jul 2021, 02:25