m3u8 下载器
Project description
hs-m3u8
m3u8 视频下载工具。支持大部分的m3u8视频下载。后续增加UI界面。
功能
- aes解密
- 自动选择高分辨m3u8
- 合并MP4
- 可选择保留ts文件
- 内置Windows平台ffmpeg可执行文件(由于Linux及Mac下权限问题,需自行安装ffmpeg文件)
使用
url = "https://surrit.com/6d3bb2b2-d707-4b79-adf0-89542cb1383c/playlist.m3u8"
name = "SDAB-129"
dl = M3u8Downloader(
url=url,
save_path=f"downloads/{name}",
max_workers=64
)
await dl.run(del_hls=False, merge=True)
- del_hls 为True时会删除ts、m3u8、key等文件,否则会经过处理后保留,以便直接使用
- merge 为True时会自动合并为mp4
安装
rye 安装
rye sync
pip 安装
该requirements.lock文件是在Mac环境在生成的,不同系统环境下可能会遇到不同的效果,如果使用请使用rye安装
pip install -r requirements.lock
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hs_m3u8-0.1.0.tar.gz
(60.0 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hs_m3u8-0.1.0.tar.gz.
File metadata
- Download URL: hs_m3u8-0.1.0.tar.gz
- Upload date:
- Size: 60.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc50b786943ebb2f4b1c7ff49049b8cfb1f5fea7ab4de1094b76d1efae6dfbe7
|
|
| MD5 |
9e068b603881cc634ee65e7a3ae95f03
|
|
| BLAKE2b-256 |
e9e6ee4d5395bce413c2e16d79d257592218034f1503de0a81b2d9e5e0125675
|
File details
Details for the file hs_m3u8-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hs_m3u8-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78d456a092436c2b594c6574d70302e3cc4554900b362ee16334de71c48d9c42
|
|
| MD5 |
b03d84c0fbf056171289867d6bbdb082
|
|
| BLAKE2b-256 |
7afcc326107b7bab92d94f8f4831894a8d9053a5f82baffdbb1aa0cb43f4083d
|