一个简洁易用的多线程文件下载工具。
Project description
简介
DrissionGet 是一个基于 python 的简洁易用的多线程文件下载工具。 使用简单,功能强大。
使用文档:点击查看
特性
- 多线程,可同时下载多个文件
- 大文件自动分块用多线程下载
- 自动任务调度,简易的任务添加方式
- 可使用已有
Session对象,便于保持登录状态 - 与 DrissionPage 良好兼容
- 自动创建目标路径
- 自动去除路径中的非法字符
- 自动处理文件名冲突
- 可对现有文件追加内容
- 连接失败自动重试
简单示例
from DrissionGet import DrissionGet
# 创建下载器对象
d = DrissionGet(r'.\files')
# 添加多个任务
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)
☕ 请我喝咖啡
如果本项目对您有所帮助,不妨请作者我喝杯咖啡 :)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
drissionget-1.0.0.tar.gz
(17.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file drissionget-1.0.0.tar.gz.
File metadata
- Download URL: drissionget-1.0.0.tar.gz
- Upload date:
- Size: 17.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
579f83d776f2513cb9545ea5eca8b6f8aff23ee26a4d78852651e9ff7555e435
|
|
| MD5 |
7166ddccba3fe7abafce2076bfe8c0a8
|
|
| BLAKE2b-256 |
e48e3e9d4ebf4e5da571f556a5f82ac6f4594b40d7fca9cf8fdcca4c222b2b84
|
File details
Details for the file drissionget-1.0.0-py3-none-any.whl.
File metadata
- Download URL: drissionget-1.0.0-py3-none-any.whl
- Upload date:
- Size: 22.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
020575433be2953b0231f94f761c2e4705e73ef6dc43c254159d988c0c75bce0
|
|
| MD5 |
124904bae614f361aaf28b56fad92495
|
|
| BLAKE2b-256 |
d1c814ce77896c0244dbbe4b12b46b94972d2336ae3130110c8b0c9f2328e382
|