二代的ffm3u8模块修改了第一代一些问题并提供了IV的写入使模块的使用更加多元化,当然相比于第一代第二代也并没有太多的改变,模块的使用还是有太多的限制,不过我还会继续更新的,希望大家喜欢!
安装方式:pip install ffm3u8
使用方法:
解密方法:
ffm3u8.get_url_key(name='m3u8的路径', name2='ts的前域名', op='保存的路径(使用/后面需要加上/如:D:/xuexipan/python/crawler/视频/新建文件夹/)', headers=请求头, key_url='密钥的url', IV='填入IV没有则填入16个0')
不解密的方法:
ffm3u8.get_aio_url(name='m3u8的路径', name2='ts的前域名', op='保存的路径(使用/后面需要加上/如:D:/xuexipan/python/crawler/视频/新建文件夹/)', headers=请求头)
联系电话:181 2874 4689(微信,QQ同号)(备注来因)
邮箱:13360350080@163.com
希望大家可以多多留意,多多提建议!
感谢@企鹅诶i提供的技术支持!
感谢re, aiohttp, asyncio, aiofiles, AES, Crypto模块提供的模块支持非常感谢!
告示:任何人使用本模块做的违规违法,及任何的利益纠纷的产生的责任,模块制作所有人概不负责
Release files for ffm3u8 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ffm3u8-1.1.1.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ffm3u8-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.8 kB
Release files / ffm3u8-1.1.1.tar.gz
| Download URL | ffm3u8-1.1.1.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4238d9fa60a1806e27b3801b03c391ab9f6017fb84fc51b5f7c1e1368701dae
|
|
BLAKE2b-256 checksum How to use checksums |
3dd83d4fbd92c9b65788d7ff9242070879ee044d9f6ed3a6407751da8545012a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.4
|
Release files / ffm3u8-1.1.1-py3-none-any.whl
| Download URL | ffm3u8-1.1.1-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
17f49f4a46a1c330c564b971846b1b08f7d43612f773468da54f238fa6a4d424
|
|
BLAKE2b-256 checksum How to use checksums |
94b656818935dd3397427d560f1735e96d77af87746ee397676cb95351bc9a24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.4
|