Using stuff from this forum I've gleaned enough information to knock up a Bash script to download C5 programmes. The script takes manifest and licence URLs as input and uses N_m3u8DL-RE to produce a .mkv as output. Works a treat.
I'm using Stream Detector or Developer Tools to get manifest and licence details manually but ideally I'd like to get them as part of the script.
Any pointers on how I can achieve that, please. I've not had any success using Wireshark/tshark.
Thanks.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.
+ Reply to Thread
Results 1 to 6 of 6
Thread
-
-
You won't with bash.
In fact, you'll struggle even with python.
The mpd loads when the in browser video player loads, as it is supposed to. And upon loading requests the decryption key from the license server.
You're not gonna be able to automate using static scripts.
Playwright in python might help, but you ill need to work out the exact areas to look and manipulate.
good luck . -
Thanks for the reply Sorenb.
Yes, I see that's how it works. But what I can't understand is how Stream Detector and Dev Tools can get the information but I can't.
Need a command-line version of Developer Tools! -
a command line version of developer tools? No such thing. There's a reason why dev tools open within the browser.
-
The keys to decrypt the stuff on the web player for my5 change about once a week, so you would be editing your code every week once you figure out the right keys to decrypt the interesting bit of the web player.
-
My script extracts PSSH from the manifest and, together with the licence URL, gets the key from the 'Send Widevine Request' website. So the key isn't the problem.
What I was trying to do is find a way of getting the manifest and licence URLs without having to grab them manually from Developer Tools. Of course I could use wmctrl/xdotool to screen-scrape them but I was hoping to find something more elegant.
Similar Threads
-
Channel 4 licence URL help
By theshakez in forum Video Streaming DownloadingReplies: 9Last Post: 19th Jun 2023, 15:55 -
Not getting headers from this Licence
By ihuman in forum Video Streaming DownloadingReplies: 18Last Post: 25th May 2023, 09:43 -
How to get correct licence ?
By luki2488 in forum Video Streaming DownloadingReplies: 0Last Post: 12th Oct 2022, 14:44 -
Help with manifest
By Musito in forum Video Streaming DownloadingReplies: 4Last Post: 27th Sep 2022, 13:55 -
Video Licence Plate Capture
By sizzlicnok in forum RestorationReplies: 3Last Post: 20th Nov 2019, 08:10