Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can this program support multi thread downloading? #299

Open
shutwin opened this issue Oct 11, 2022 · 3 comments
Open

Can this program support multi thread downloading? #299

shutwin opened this issue Oct 11, 2022 · 3 comments

Comments

@shutwin
Copy link

shutwin commented Oct 11, 2022

Can this program support multi thread downloading?

@rokam
Copy link

rokam commented Oct 11, 2022

Hi, I don't see any benefits for multithreading support inside the lib. As the lib just downloads 1 file.
Maybe you can create threads before calling m3u8.load(url): https://docs.python.org/3/library/threading.html

@shutwin
Copy link
Author

shutwin commented Oct 11, 2022

Hi, I meant to use our module to multithread download .ts files, not m3u8 files. It is more convenient to directly call the module to download the list of .ts files in multiple threads.

你好,我的意思是用咱们的模块来多线程下载 .ts 文件,而不是m3u8文件。直接调用模块来进行多线程下载.ts文件列表,这样更方便一些。

@bbayles
Copy link
Contributor

bbayles commented Oct 13, 2022

Here is a script for multi-threaded downloading of TS files from an M3U8 playlist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants