Giter VIP home page Giter VIP logo

l3dl-re's Introduction

L3DL-REscripted widevine downloader

This script was modified from the base L3 module and named as such because it depends on N_m3u8DL-RE instead of yt-dlp/aria2c/ffmpeg/mkvmerge. This project is more of vinebatch's successor that is faster and better.

Since most big VODs have their dedicated downloaders, this is aimed for smaller sites that have no custom payload needed. This is initial release and will likely contain bugs that will either be fixed in the future or not.

Requirements:

  • These should be on your PATH (use latest): mkvtoolnix/mkvmerge, shaka-packager.exe
  • python3 (tested on python 3.10.xx)
  • Working L3 CDM inside \pywidevine_\L3\cdm\devices\android_generic
Usage:

l3dl.py [-h] [-m] [-l] [-o] [--select] [--keys] [--batch BATCH]

  -m , --manifest   your mpd/m3u8 link
  -l , --license    license url link
  -o , --output     output file name
  --select          manually pick what to download
  --keys            keys only, don't download
  --batch BATCH     batch download mode. what file to open?

There are two modes here, single video version and batch mode. For single version, you need to supply the manifest link, the license link, and the output file name. For batch version, just include --batch and the text file with the following format: name;manifest_link;license_url

If you want to only get keys, add the --keys flag. By default, the settings will download all of the subs and best audio/video. If you know that your manifest has more than one audio, you can add --select flag which will provide you with an interactive menu before downloading.

The PSSH, KID:KEY, manifest link, license URL, are all added on the local db file for reference/review. If you want to view it, you can use sqlitebrowser or similar tools.

The code is self-documenting so browse and read it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.