Skip to main content

Batch Download 网页批量文件下载工具

异步批量目录爬虫,支持断点续传、深度限制、扩展名过滤等功能。 开源地址:https://github.com/PIKACHUIM/BatchDownload

Install 安装方法

pip install aiohttp aiofiles playwright tqdm

首次使用前需安装浏览器依赖:

playwright install chromium

Usage 使用示例

import asyncio
from batchdownload import BatchDownload

async def main():
    crawler = BatchDownload(
        url="https://example.com/files",
        depth=2,
        store_dir="downloads",
        ext={".zip", ".pdf"}
    )
    links = await crawler.fetch()
    await crawler.download(max_workers=5)

if __name__ == "__main__":
    asyncio.run(main())

GUI App 图形化客户端下载

https://github.com/PIKACHUIM/BatchDownload/releases

Metadata

Release files for batchdownload 0.1.2

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

Source distribution (sdist)

Source distribution for batchdownload 0.1.2
File Size Uploaded
batchdownload-0.1.2.tar.gz 17.5 kB Details

Built distribution (wheel)

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

Total release size: 35.4 kB

Release files / batchdownload-0.1.2.tar.gz

Download URL batchdownload-0.1.2.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7d61ba3ad83fde59488a79cbdf3c6a530717c10ce1292de4f0db99c8dc4b525a
BLAKE2b-256 checksum
How to use checksums
12790f4ded2f2a80ea9b4fea53abffc32507b32fd96b59f2f11c6f11874fc90d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / batchdownload-0.1.2-py3-none-any.whl

Download URL batchdownload-0.1.2-py3-none-any.whl
Size 17.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d4de5bc919f2f5dd5cd508b459f020cfdcd64e605884e9dc6daecf36e1371d2e
BLAKE2b-256 checksum
How to use checksums
3b64ea1381c19c3529371d53835e994a9cb68a97af7866b842e054f13c5899ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.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