## Aiodl
[![PyPI version](https://badge.fury.io/py/aiodl.svg)](https://badge.fury.io/py/aiodl)
Aiodl -- Yet another command line download accelerator.
## Features
- Accelerate the downloading process by using multiple connections for one file.
- Reasonable retries on network errors.
- Breakpoint resume.
## Installation
```bash
$ pip3 install aiodl --user
# or
$ sudo pip3 install aiodl
```
## Usage
### Commandline
Simply call `aiodl` with the URL:
```console
$ aiodl https://dl.google.com/translate/android/Translate.apk
File: Translate.apk
Size: 16.8M
Type: application/vnd.android.package-archive
11%|████▎ | 1.78M/16.0M [00:03<00:26, 565KB/s]
```
Hit Ctrl+C to stop the download. Aiodl will save necessary information to `<download-file>.aiodl`, next time it will automatically continue to download from here.
Other arguments:
```
--fake-user-agent, -u Use a fake User-Agent.
--num-tasks N, -n N Limit number of asynchronous tasks.
--max-tries N, -r N Limit retries on network errors.
```
### In your script
```python
import aiodl
# in an async function
filename = await aiodl.download('https://dl.google.com/translate/android/Translate.apk', quiet=True)
```
没有合适的资源?快使用搜索试试~ 我知道了~
一个异步 I/O 下载工具,异步下载器_python_代码_下载
共9个文件
py:6个
license:1个
md:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 153 浏览量
2022-07-03
13:08:31
上传
评论
收藏 8KB ZIP 举报
温馨提示
Aiodl——又一个命令行下载加速器。 特征 通过对一个文件使用多个连接来加速下载过程。 对网络错误进行合理的重试。 断点续传。
资源推荐
资源详情
资源评论
收起资源包目录
aiodl-master.zip (9个子文件)
aiodl-master
aiodl
utils.py 3KB
__main__.py 1KB
__init__.py 658B
aiodl.py 6KB
version.py 22B
LICENSE 1KB
setup.py 1010B
.gitignore 1KB
README.md 1KB
共 9 条
- 1
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功