DownloadKit is a simple and easy-to-use multi-threaded file download tool based on python. Simple to use and powerful.
Usage documentation: Click to view
Multi-threading, multiple files can be downloaded at the same time
Automatically divide large files into chunks for multi-threaded downloading
Automatic task scheduling, easy way to add tasks
Existing Session
objects can be used to facilitate keeping logged in status
Well compatible with DrissionPage
Automatically create target paths
Automatically remove illegal characters from paths
Automatically handle filename conflicts
Ability to append content to existing files
Automatically retry connection failure
from DownloadKit import DownloadKit# Create downloader object d = DownloadKit(r'.files')# Add multiple tasks url1 = 'https://gitee.com/static/images/logo.svg?t=158106664'url2 = 'https://www.baidu.com/img/PCfb_5bf082d29588c07f842ccde3f97243ea.png'd.download(url1)d.download(url2)
If this project is helpful to you, why not buy me a cup of coffee from the author :)