Giter Club home page Giter Club logo

m3u8-downloader's People

Contributors

gujifly avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

m3u8-downloader's Issues

Incorrect AES key length

Hi,
I am trying to download an m3u8 stream with your script but i get this :

Decode Method:AES-128 | ETA: --:--:-- 0.00 B/s
key:b'\xa3C\x98\xc8a\xe4\x86[@r\x00\xd6\xba\xca\x8f\x8cMrToB,n~z$Y.--aKd\xe4\xaa\x9e\xed\x80B\x9a\xcb.2-\x8e]\\xee'
下载进度:100% |>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>| Time: 0:02:26 68.18 B/s
Traceback (most recent call last): | ETA: --:--:-- 0.00 B/s
File "m3u8_downloader.py", line 221, in
dow_m3u8(target, movie_name, pool_num)
File "m3u8_downloader.py", line 200, in dow_m3u8
merge_movie(i, movie_name)
File "m3u8_downloader.py", line 74, in merge_movie
cryptor = AES.new(key, AES.MODE_CBC, key)
File "C:\Python37\lib\site-packages\Crypto\Cipher\AES.py", line 232, in new
return create_cipher(sys.modules[name], key, mode, *args, **kwargs)
File "C:\Python37\lib\site-packages\Crypto\Cipher_init
.py", line 79, in _create_cipher
return modes[mode](factory, **kwargs)
File "C:\Python37\lib\site-packages\Crypto\Cipher_mode_cbc.py", line 274, in _create_cbc_cipher
cipher_state = factory._create_base_cipher(kwargs)
File "C:\Python37\lib\site-packages\Crypto\Cipher\AES.py", line 93, in _create_base_cipher
raise ValueError("Incorrect AES key length (%d bytes)" % len(key))
ValueError: Incorrect AES key length (48 bytes)

Please advice!

Merge ts filles

It downloaded into separate .ts files. Is it possible to merge these into a single .ts or .mp4 video?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.