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.2.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.2.1
File Size Uploaded
drissionget-1.2.1.tar.gz 18.0 kB Details

Built distribution (wheel)

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

Total release size: 40.3 kB

Release files / drissionget-1.2.1.tar.gz

Download URL drissionget-1.2.1.tar.gz
Size 18.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a05519bea59cc7a588f1a5a9ee6844282e59963eac212baa406da1c20bca9908
BLAKE2b-256 checksum
How to use checksums
802cc9d6aeffeecd7f5620af419d8a33aec7d2ab29da7503a442dae2d7177a15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.1

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

Download URL drissionget-1.2.1-py3-none-any.whl
Size 22.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd0ae08c26e6a7f5bd105ca787d79854569c8ebfeb67f978b86aee7d2b983a29
BLAKE2b-256 checksum
How to use checksums
b7937e4f2026811349c70fb9b7a2cc4c1dc31a6592fa41554d0e4406b80bf83c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.1

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

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