迅雷非官方批量下载SDK
Project description
Thunders
迅雷非官方批量下载SDK。
感谢使用。
版本记录
- 0.1.5: 修复Windows下批量任务启动失效的问题
- 0.1.3: 新增版本记录
- 0.1.2: 更新ReadMe
- 新增
obj.dump,为了简洁、美观,无需再调用__repr__ - 新增"获取批量任务中的子任务"示例
- 新增"内存中获取URL Scheme"示例
- 新增
- 0.1.1: 更新ReadMe
- 新增"创建批量自定义任务"示例
快速入门
创建批量自定义任务
from thunders import Task, GroupTask
group_task = GroupTask(name="test")
group_task.append(Task("https://ahamega.com/1.mp4"))
group_task.append(Task("https://ahamega.com/2.mp4", name="自定义重命名2.mp4"))
group_task.run() # 执行完后,迅雷会打开并弹出上面创建的批量任务,点击下载即可
# 也可以这么用
group_task.extend([
Task("https://ahamega.com/1.mp4"),
Task("https://ahamega.com/2.mp4", name="自定义重命名2.mp4")
])
group_task.run() # 执行完后,迅雷会打开并弹出上面创建的批量任务,点击下载即可
获取批量任务中的子任务
for task in group_task:
print(task.name, task.origin_url, task.url, sep="\n")
# 也可以直接索引取出
task1 = group_task[0]
内存中获取URL Scheme
url_scheme = group_task.dump()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
thunders-0.1.5.tar.gz
(4.9 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 thunders-0.1.5.tar.gz.
File metadata
- Download URL: thunders-0.1.5.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.0.2rc1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
390d7b5620feb5b17831f49ae16b09080926dba483cbd015b805ee54f6e21631
|
|
| MD5 |
5f5967344c87ec3223389b1f424a0127
|
|
| BLAKE2b-256 |
d2ba3243a75b8472f5349452a162cbc2110c49221f3c20fac8d321482daee651
|
File details
Details for the file thunders-0.1.5-py3-none-any.whl.
File metadata
- Download URL: thunders-0.1.5-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.0.2rc1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2debc69c98660cd8317596575c79b5070bf2a096ceeb4176663c85040436f0cd
|
|
| MD5 |
f8d0d4feb5413fbc5b2b5db85352e26d
|
|
| BLAKE2b-256 |
6d79b7dd2c425cdcf9e1140ecc45434b962d493a6ac42605c24fd6743d77e728
|