This is a script created to WEB-DL L3 Widevine Content.
Last Updated July 31, 2021.
Works well with .mpd files , for m3u8 please use n_m3u8 program (not included in this script).
Widevine Key Guesser : https://github.com/parnexcodes/widevine-l3-guesser-modified
pip install pyfiglet
pip install rich
Load the extension (link above)
Open the Widevine Protected DRM Stream , click on extension then click on Download.
Place keys.json file inside this repo's folder.
Run python webdl.py -h
Check the instructions and enter the mpd url (optional), output.
Example code : py webdl.py -o test
or
py webdl.py -m "mpdurl" -o test
(In the new update , you don't have to enter the mpd url as it gets fetched through extension)
-id and -s are optional (id to manually enter video and audio id from ytdl, s for subtitle url.)
Open Issue on Github if you get any problem.