haokan-download
用途
本程序用于从好看视频批量下载某个作者的视频
注意事项
- 禁止将本程序用于商业用途。
- 本程序使用Python编写,需要Python环境支持。
- 本程序并未使用多线程,出于作者懒和减少服务器压力的原因。
- 核心的下载服务依赖于you-get,通过命令行进行调用,所以请确保你的电脑可以在命令行正常执行
you-get xxx。 - 下载结果会保存在命令行的当前工作目录,请确保当前目录有足够空间。
- 经过测试发现you-get对haokan视频的支持并不完善,已经有人提交pull改善,但尚未合并到主分支,所以需要自己手动打包安装该分支代码,或者下载并安装我打包的版本you_get-0.4.1500-py3-none-any.whl。
安装
pip install haokan-download-icexmoon
使用
- 通过某个好看作者页面获取作者id,比如
http://haokan.hao123.com/author/1682248365073087,作者id为1682248365073087。 - 运行
python -m haokan_download --uid xxx --limit xxx进行下载,uid选项必须,limit非必须,后者可以限制下载数目。 - 等待下载结果。因为是单进程,下载速度比较慢。
更新日志
0.0.2
增加缓存机制
Metadata
Release files for haokan-download-icexmoon 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| haokan-download-icexmoon-0.0.3.tar.gz | 9.7 kB | Without provenance | Details for haokan-download-icexmoon-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| haokan_download_icexmoon-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for haokan_download_icexmoon-0.0.3-py3-none-any.whl |
Total release size: 20.9 kB
Release files / haokan-download-icexmoon-0.0.3.tar.gz
| Download URL | haokan-download-icexmoon-0.0.3.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9eb50cd6f8970a77ac3969347033dd733542b54e71e2122193381e391994b1a
|
|
BLAKE2b-256 checksum How to use checksums |
98cbf22e212b5762129cdca37296b1a83de1afaec8c94dc3f7fdf887c082c8b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.1
|
Release files / haokan_download_icexmoon-0.0.3-py3-none-any.whl
| Download URL | haokan_download_icexmoon-0.0.3-py3-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed6b62100702d7ebd632181789a8c9831f369af6d720e877ae76a67b5294ac54
|
|
BLAKE2b-256 checksum How to use checksums |
dfed48f1ddfc527f304b0db2c90155a3e60d86b06fc6b69410a41ffb2614e1ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.1
|
Security for haokan-download-icexmoon 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.