Skip to main content

简介

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)

☕ 请我喝咖啡

如果本项目对您有所帮助,不妨请作者我喝杯咖啡 :)

Metadata

Release files for DrissionGet 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for DrissionGet 1.0.1
File Size Uploaded Provenance Actions
drissionget-1.0.1.tar.gz 17.8 kB Without provenance Details for drissionget-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for DrissionGet 1.0.1
File Interpreter ABI Platform Actions
drissionget-1.0.1-py3-none-any.whl Python 3 none any Details for drissionget-1.0.1-py3-none-any.whl

Total release size: 40.0 kB

Release files / drissionget-1.0.1.tar.gz

Download URL drissionget-1.0.1.tar.gz
Size 17.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d3c9ee69754e617b1ed5f87ba460d25c30a2fbac45e68b1c759bf257d1fd92a2
BLAKE2b-256 checksum
How to use checksums
876dd86a1e08b81c9d758dbbce9cf600efe4da893ad562858b2eb80435e0473d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / drissionget-1.0.1-py3-none-any.whl

Download URL drissionget-1.0.1-py3-none-any.whl
Size 22.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aedf103dff65bbc289df9c6e0e456f30b06d705522e49548c710652b8eb33554
BLAKE2b-256 checksum
How to use checksums
44ac34387bd81f14e43a1ea559cf6106401b4c747a722bda12965ca198f55118
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Security for DrissionGet 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page