Hello,
Do you know if there is a python script to get the keys/decrypt and mux for websites (6play, rtlplay and others) using the DRMtoday license ?
After some search, I know there is already a script but only to get the keys, not the rest of the process (here : https://forum.videohelp.com/threads/410632-need-help-to-get-the-drm-keys-from-a-vtm-pr...am#post2700195 - Thanks to karoolus)
Thanks![]()
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
+ Reply to Thread
Results 1 to 5 of 5
-
-
Code:
N_m3u8DL-RE MPDURL --save-name decrypted --auto-select --mp4-real-time-decryption --mux-after-done format=mkv -ss all --binary-merge --use-shaka-packager --check-segments-count false --key-text-file keys.txt
Edit: Sorry I was on my phone when I wrote this and didn't feel like typing a lot. Download/decrypt/merge etc is all done in a single command anyway, so all you have to do is request the keys (make sure you have the MPD url as well) and then feed those into the command above. -
I had a script for mubi, who also uses drmtoday key system. You can get it on my GitHub repo, and then use it to write your muxing process.
Good luck. -
Thank you Karoolus
, I didn't know it was possible to "do everything" with N_m3u8DL-RE. I've also taken the opportunity to adapt your line for my use, as it's easier for me to add the key directly than to modify a text file for each video. I'll add it, who knows, it may be useful to someone else.
Code:N_m3u8DL-RE --key key1 MPDURL --save-name decrypted --auto-select --mp4-real-time-decryption --mux-after-done format=mkv -ss all --binary-merge --use-shaka-packager --check-segments-count false
Thank you CrymanChen. I'll have a look, I've already tried to modify a script but without success, maybe it'll be a bit "easier" (I hope ^^) with a script using the same license.
Edit : It doesn't work. I mean, it's OK for "Key ID", but then there's a problem, I guess, with the token (6play, for example, is X-Dt-Auth-Token, not dt-custom-data, I don't know if there's a "real" difference, but I get an error message).Last edited by pouki2; 11th Mar 2024 at 04:43.
-
I add all the keys that I get into a txt file before running this command. The services that I use with DRMToday usually have multiple keys so it's easier to put them in a text file than to count the keys and add a --key parameter for all keys. Keep this in mind if you have multiple keys.
Similar Threads
-
Need help with lic.drmtoday.com license server
By TheGreatUnknown90 in forum Video Streaming DownloadingReplies: 51Last Post: 20th May 2024, 14:33 -
Script for fetching keys for MUBI (drmtoday series)
By CrymanChen in forum Video Streaming DownloadingReplies: 29Last Post: 5th Jan 2024, 16:22 -
Need help with drmtoday
By magixter in forum Video Streaming DownloadingReplies: 3Last Post: 8th Oct 2023, 18:44 -
Any Script to automate license url for viki?
By InfinitiX2 in forum Video Streaming DownloadingReplies: 8Last Post: 27th Jul 2023, 11:26 -
Looking for Batch MP4 Normalization Script of existing script
By VideoFanatic in forum Video ConversionReplies: 6Last Post: 31st Jul 2021, 19:50