From 0040abb65d1b53f0629d0bd1b053ac9158a1adc5 Mon Sep 17 00:00:00 2001 From: quinten Date: Wed, 6 Nov 2024 21:34:12 +0000 Subject: [PATCH] Update README.md --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3087d58..a0886ac 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,18 @@ # Disclaimer -Credits go to SASUKE-DUCK and their repo [PyWKS](https://github.com/SASUKE-DUCK/pywks). I only wrote the npo-specific script. +Credits go to SASUKE-DUCK and their repo [PyWKS](https://github.com/SASUKE-DUCK/pywks). This script uses their `wks.py` file to extract keys. +I only wrote this npo-specific wrapper script. This repository and its contents are published for educational purposes only. -# Installation +# Setup * `git clone https://gitea.quinten0508.com/quinten/npo` * `cd npo` * Download [N_m3u8DL-RE](https://github.com/nilaoda/N_m3u8DL-RE) and [mp4decrypt](https://www.bento4.com/downloads/) +* Add your own extracted android keys in `cdm/devices/android_generic/` (you can use [KeyDive](https://cdm-project.com/Android-Tools/KeyDive) for this): + * `device_client_id_blob` + * `device_private_key` * `pip install -r requirements.txt` # Usage -* Extract key: `python npo_new.py -url ` * Download single URL: `python 'npo all-in-one.py' -url ` * Download batch URLs: `python 'npo all-in-one.py' -file ` \ No newline at end of file