Skip to main content

this is a description

Project description

Intro

This is a pipe compatiable tool for downloading m3u8.

  1. Fast download for m3u8.
  2. Auto decrpt the key.

Install

since the name m3u8_dl is taken by other developer...

short it to m3_dl

pip install m3_dl

Usage

m3_dl <m3u8_url> -o <dest>

ex:

# download to local file
m3_dl http://aaa.com/a.m3u8 -o ./a.mp4

# pipe it to mpv
m3_dl  https://you.tube-kuyun.com/20200210/1144_623a1fb3/index.m3u8 | mpv -

# pipe it to mpv and save to local
m3_dl  https://you.tube-kuyun.com/20200210/1144_623a1fb3/index.m3u8 | tee > ./a.mp4 | mpv -

Full Usage

usage: m3_dl [-h] [-o OUT_PATH] [-p PROXY] [-t THREADCOUNT] [-d] [-w] [-s]
             [-v]
             url

positional arguments:
  url                   url

optional arguments:
  -h, --help            show this help message and exit
  -o OUT_PATH, --out_path OUT_PATH
                        output path (default: None)
  -p PROXY, --proxy PROXY
                        proxy (default: socks5h://127.0.0.1:5992)
  -t THREADCOUNT, --threadcount THREADCOUNT
                        thread count (default: 2)
  -d, --debug           debug info (default: False)
  -w, --overwrite       overwrite existed file (default: False)
  -s, --stream          stream output for pipe (default: False)
  -v, --version         version (default: False)

TODO

  1. enable redownlowd
  2. make it mitm compatiable

Notes

when feed binary to stdout, it will block ouput if stdout is full

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

m3_dl-0.0.15-py2.py3-none-any.whl (8.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file m3_dl-0.0.15-py2.py3-none-any.whl.

File metadata

  • Download URL: m3_dl-0.0.15-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.4.2 requests/2.22.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for m3_dl-0.0.15-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 962ea1b4fb9e556ee03b225ac7ae497fd70334175b71baa6b8f451bd7cac29c0
MD5 af5f6c20c9083a97c958ee40d9a1e53b
BLAKE2b-256 4c9ed38d62bd747512e8a992fc012be46cd7b04386697661bd7ade97da504ddf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page