Skip to main content

M3u8-dl

alt text alt text alt text

M3u8-dl is a simple command-line util which downloads m3u8 file.

Install

pip install m3u8-dl

Usage

Get the HLS Request infomation from web browser with Developer Tools. Such As Request URL and Referer.

# HLS_URL -> Request URL
# OUTPUT -> such as example.ts
m3u8-dl HLS_URL OUTPUT
# restore last session if the task was interrupted
m3u8-dl --restore

If you are failed to download the stream, try it again with the options below:

  • Specify the Referer with -r when you’re blocked by the website (403 forbidden).

  • Specify the base url with -u when #EXTINF hls-720p0.ts has no base url in output.m3u8.

You can even make it run faster by using -t, which means how many threads you want to start.

--restore will restore the last session.

For more details, check --help.

History

0.1.0 (2019-03-13)

  • First release on PyPI.

Metadata

Release files for m3u8-dl 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for m3u8-dl 0.2.3
File Size Uploaded Provenance Actions
m3u8_dl-0.2.3.tar.gz 11.3 kB Without provenance Details for m3u8_dl-0.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for m3u8-dl 0.2.3
File Interpreter ABI Platform Actions
m3u8_dl-0.2.3-py2.py3-none-any.whl Python 2, Python 3 none any Details for m3u8_dl-0.2.3-py2.py3-none-any.whl

Total release size: 20.0 kB

Release files / m3u8_dl-0.2.3.tar.gz

Download URL m3u8_dl-0.2.3.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
74c8224f7f471fa4c76b114807e2a6824b6b3b33a8f25b93acea7094166e3aa8
BLAKE2b-256 checksum
How to use checksums
4c5d37da7eb506de0ba25a82a43937685499294fc326609c9da52e3031a5db55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.0

Release files / m3u8_dl-0.2.3-py2.py3-none-any.whl

Download URL m3u8_dl-0.2.3-py2.py3-none-any.whl
Size 8.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
8c0f9ac49b6152d2229bc1f34fe9e5a8264a7e3091bf14a5c6949fa3aed58682
BLAKE2b-256 checksum
How to use checksums
b71b51c8e3d35a94ae5b38d68a8184abcd19cf3075672996f647ad9034e490d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.0

Security for m3u8-dl 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page