Initial commit
This commit is contained in:
commit
57fc3525eb
7311 files changed
+1291398
No files matched your search
@@ -0,0 +1 @@
|
||||
pip
|
||||
@@ -0,0 +1,78 @@
|
||||
Metadata-Version: 2.4
|
||||
Name: DrissionGet
|
||||
Version: 1.2.1
|
||||
Summary: 一个简洁易用的多线程文件下载工具。
|
||||
Home-page: https://DrissionPage.cn/DrissionGet
|
||||
Author: g1879
|
||||
Author-email: g1879@qq.com
|
||||
License: BSD
|
||||
Keywords: DrissionGet
|
||||
Classifier: Programming Language :: Python :: 3.6
|
||||
Classifier: Development Status :: 4 - Beta
|
||||
Classifier: Topic :: Utilities
|
||||
Classifier: License :: OSI Approved :: BSD License
|
||||
Requires-Python: >=3.6
|
||||
Description-Content-Type: text/markdown
|
||||
License-File: LICENSE
|
||||
Requires-Dist: requests
|
||||
Requires-Dist: DrissionRecord>=2.0.0
|
||||
Dynamic: author
|
||||
Dynamic: author-email
|
||||
Dynamic: classifier
|
||||
Dynamic: description
|
||||
Dynamic: description-content-type
|
||||
Dynamic: home-page
|
||||
Dynamic: keywords
|
||||
Dynamic: license
|
||||
Dynamic: license-file
|
||||
Dynamic: requires-dist
|
||||
Dynamic: requires-python
|
||||
Dynamic: summary
|
||||
|
||||
## 简介
|
||||
|
||||
DrissionGet 是一个基于 python 的简洁易用的多线程文件下载工具。
|
||||
使用简单,功能强大。
|
||||
|
||||
使用文档:[点击查看](http://DrissionPage.cn/DrissionGet/)
|
||||
|
||||
---
|
||||
|
||||
## 特性
|
||||
|
||||
- 多线程,可同时下载多个文件
|
||||
- 大文件自动分块用多线程下载
|
||||
- 自动任务调度,简易的任务添加方式
|
||||
- 可使用已有`Session`对象,便于保持登录状态
|
||||
- 与 DrissionPage 良好兼容
|
||||
- 自动创建目标路径
|
||||
- 自动去除路径中的非法字符
|
||||
- 自动处理文件名冲突
|
||||
- 可对现有文件追加内容
|
||||
- 连接失败自动重试
|
||||
|
||||
---
|
||||
|
||||
## 简单示例
|
||||
|
||||
```python
|
||||
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)
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## ☕ 请我喝咖啡
|
||||
|
||||
如果本项目对您有所帮助,不妨请作者我喝杯咖啡 :)
|
||||
|
||||

|
||||
@@ -0,0 +1,20 @@
|
||||
DrissionGet/__init__.py,sha256=zaSXQteVu6xWaUjMlIM4NsYEZ7zfzxaevM9k99QTa3U,144
|
||||
DrissionGet/__pycache__/__init__.cpython-314.pyc,,
|
||||
DrissionGet/__pycache__/_funcs.cpython-314.pyc,,
|
||||
DrissionGet/__pycache__/drissionGet.cpython-314.pyc,,
|
||||
DrissionGet/__pycache__/mission.cpython-314.pyc,,
|
||||
DrissionGet/__pycache__/setter.cpython-314.pyc,,
|
||||
DrissionGet/_funcs.py,sha256=1GOQ8GXCuQuwDNO3UqPZLrNuHcg0iSqIrek-J8FPZik,7216
|
||||
DrissionGet/_funcs.pyi,sha256=aEg5igeBGlcfJjLZBFe-Xs4nkB26FL8nwAAROGwyThQ,2668
|
||||
DrissionGet/drissionGet.py,sha256=pzwsID9dLPmrRvvq3s5v0LFSLEdB_28lGZ7D5Zwo6G4,19771
|
||||
DrissionGet/drissionGet.pyi,sha256=qeCtFXiBNJ2-YDsHS1wateRfvZbImhb2G6D3VKzeEZQ,12424
|
||||
DrissionGet/mission.py,sha256=LOZHAW3b4-69etNVKKIHY6BG4uUq8hPlIXkf9r2oNP0,9103
|
||||
DrissionGet/mission.pyi,sha256=FAwaX40ApN4PULlADJaF-NWHEEZPZwOxkQtcHe6JXw4,7360
|
||||
DrissionGet/setter.py,sha256=Q5LhRu2SQrNaa0lUUwdwX1Xerh6ZM8svTt9S9uL2U4s,3832
|
||||
DrissionGet/setter.pyi,sha256=dLDxmTF5yRwuYl7LjpdwHnPtpvYFNPfkreATPFZl2sQ,4355
|
||||
drissionget-1.2.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
drissionget-1.2.1.dist-info/METADATA,sha256=AvF8A9C5Pjw43Yji4ZCeevJBdRU62_XFUkYJxOU2-Xk,1972
|
||||
drissionget-1.2.1.dist-info/RECORD,,
|
||||
drissionget-1.2.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
||||
drissionget-1.2.1.dist-info/licenses/LICENSE,sha256=bmg-G9BEqev4nY30-LS5Biyv5lgPXNOr2mpwB0b6j0g,1534
|
||||
drissionget-1.2.1.dist-info/top_level.txt,sha256=JcVf5XSCdt9le8PnXPV9lN9NYaJWp4fhYJfcy4Enc1M,12
|
||||
@@ -0,0 +1,5 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: setuptools (80.9.0)
|
||||
Root-Is-Purelib: true
|
||||
Tag: py3-none-any
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
BSD 3-Clause License
|
||||
|
||||
Copyright (c) 2020, g1879
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
* Neither the name of the copyright holder nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
@@ -0,0 +1 @@
|
||||
DrissionGet
|
||||
Reference in new issue
Block a user