Skip to main content

download m3u8 video by m3u8 url or by local m3u8 file

Project description

m3u8-XZ

This is a simple package,it can download video by m3u8.

pip install m3u8-xz

####version 0.0.11 增加可选参数decryptKey,decryptKeyFunc 针对一些不是根据uri的结果直接解密的情况

####version 0.0.10 修复了上个版本的重大问题

####version 0.0.9 加入 run_thread 启动方法,会在子线程执行

####version 0.0.8 修复一些小问题

####version 0.0.7 加入可选参数:

headers:可自定义头部 path:可自定义保存文件的绝对路径, logger:可选择是否打印输出, print_callback:打印回调,可通过**kwargs接收指定参数

####version 0.0.3 修复一些小问题

####version 0.0.2 support aes-128 decode,support read local m3u8 file

from m3u8_XZ import m3u8
# use m3u8 url 通过url
obj = m3u8(url='https://example.com/index.m3u8', folder='test')
# use local file 通过本地文件
# m3u8(m3u8_file='fileName.m3u8', folder='test')
obj.run()

Project details


Download files

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

Source Distribution

m3u8_XZ-0.0.11.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

m3u8_XZ-0.0.11-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file m3u8_XZ-0.0.11.tar.gz.

File metadata

  • Download URL: m3u8_XZ-0.0.11.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.1

File hashes

Hashes for m3u8_XZ-0.0.11.tar.gz
Algorithm Hash digest
SHA256 67492a1b0252d12e476aa79ea28efd94ad28db3bef119e674dad33f266b0c8d0
MD5 e52d9ba7d99b9b9681a9650997128ad3
BLAKE2b-256 0fe7fc586cb1a87ac183975649e7914fe104b327ef5aeb311d6afa049302d39a

See more details on using hashes here.

File details

Details for the file m3u8_XZ-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: m3u8_XZ-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.1

File hashes

Hashes for m3u8_XZ-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 2ab58eba2ff8e62a582bf82da367dcbf5f812d21d9114d55fd8e9b975f0a6b11
MD5 1648e83b95e96ba155d6c9a5583ca61c
BLAKE2b-256 ad41b750f03b1b1af97258fe5776e748094c3165c471e22b50ed43c679bd2c9a

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