gujifly / m3u8-downloader Goto Github PK
View Code? Open in Web Editor NEWdownload tools for m3u8 media
download tools for m3u8 media
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!
It downloaded into separate .ts files. Is it possible to merge these into a single .ts or .mp4 video?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.