npo/README.md
2024-11-06 21:39:49 +00:00

1010 B

Disclaimer

Credits go to SASUKE-DUCK and their repo 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.

Setup

  • git clone https://gitea.quinten0508.com/quinten/npo
  • cd npo
  • Download /cdm/wks.py and put it in an empty /cdm folder within the npo folder
  • Download N_m3u8DL-RE and mp4decrypt
  • Add your own extracted android keys in cdm/devices/android_generic/ (you can use KeyDive for this):
    • device_client_id_blob
    • device_private_key
  • pip install -r requirements.txt

Usage

  • Download single URL: python 'npo all-in-one.py' -url <url>
  • Download batch URLs: python 'npo all-in-one.py' -file <file>