auto download one authors video on haokan website
Project description
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
增加缓存机制
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file haokan-download-icexmoon-0.0.3.tar.gz
.
File metadata
- Download URL: haokan-download-icexmoon-0.0.3.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9eb50cd6f8970a77ac3969347033dd733542b54e71e2122193381e391994b1a |
|
MD5 | 03bccd949614f852e49d0d7bd8b45a46 |
|
BLAKE2b-256 | 98cbf22e212b5762129cdca37296b1a83de1afaec8c94dc3f7fdf887c082c8b5 |
File details
Details for the file haokan_download_icexmoon-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: haokan_download_icexmoon-0.0.3-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed6b62100702d7ebd632181789a8c9831f369af6d720e877ae76a67b5294ac54 |
|
MD5 | 21c5b8ea8620aae2c212baf4c441240a |
|
BLAKE2b-256 | dfed48f1ddfc527f304b0db2c90155a3e60d86b06fc6b69410a41ffb2614e1ae |