Metadata-Version: 2.4
Name: m3u8-dl-tool
Version: 0.1.0
Summary: 跨平台m3u8下载工具，自动过滤广告分片，多线程下载
Author-email: jxwubin <549719522@qq.com>
License: MIT License
        
        Copyright (c) 2026 jxwubin
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
Project-URL: Homepage, https://github.com/xxx/xxx
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.31.0
Requires-Dist: pycryptodome>=3.19.0
Dynamic: license-file

# m3u8‑dl‑tool
跨平台m3u8视频下载工具，自动检测并删除重复广告分片，多线程高速下载，支持Windows / macOS / Linux。

## ✨功能特点
- 多线程并发下载TS分片
- 自动计算分片哈希，过滤重复广告TS片段
- AES加密m3u8自动解密
- 下载完成自动合并TS为MP4
- 自动清理临时TS文件
- 参数说明
max_workers：下载并发线程数，建议 10~30，不要设置过大，避免被服务器限流
base_dir：自定义工作目录，不填则默认使用调用脚本所在文件夹
run (max_workers=15,start_index=0, end_index=None, base_dir=r"D:\video_download")

## 安装
```bash
pip install m3u8-dl-tool
