VideoHelp Forum



Support our site by donate $5 directly to us Thanks!!!

Try StreamFab Downloader and download streaming video from Netflix, Amazon!



+ Reply to Thread
Results 1 to 5 of 5
  1. 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
    Quote Quote  
  2. Search, Learn, Download! Karoolus's Avatar
    Join Date
    Oct 2022
    Location
    Belgium
    Search Comp PM
    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
    is what I use



    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.
    Last edited by Karoolus; 11th Mar 2024 at 01:52.
    Quote Quote  
  3. Banned
    Join Date
    Apr 2022
    Location
    Hong Kong
    Search Comp PM
    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.
    Quote Quote  
  4. Originally Posted by Karoolus View Post
    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
    is what I use



    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.
    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

    Originally Posted by CrymanChen View Post
    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 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.
    Quote Quote  
  5. Search, Learn, Download! Karoolus's Avatar
    Join Date
    Oct 2022
    Location
    Belgium
    Search Comp PM
    Originally Posted by pouki2 View Post
    Originally Posted by Karoolus View Post
    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
    is what I use



    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.
    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
    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.
    Quote Quote  



Similar Threads

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