Skip to main content

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

使用

  1. 通过某个好看作者页面获取作者id,比如http://haokan.hao123.com/author/1682248365073087,作者id为1682248365073087
  2. 运行python -m haokan_download --uid xxx --limit xxx进行下载,uid选项必须,limit非必须,后者可以限制下载数目。
  3. 等待下载结果。因为是单进程,下载速度比较慢。

更新日志

0.0.2

增加缓存机制

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

haokan-download-icexmoon-0.0.3.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

haokan_download_icexmoon-0.0.3-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file haokan-download-icexmoon-0.0.3.tar.gz.

File metadata

File hashes

Hashes for haokan-download-icexmoon-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e9eb50cd6f8970a77ac3969347033dd733542b54e71e2122193381e391994b1a
MD5 03bccd949614f852e49d0d7bd8b45a46
BLAKE2b-256 98cbf22e212b5762129cdca37296b1a83de1afaec8c94dc3f7fdf887c082c8b5

See more details on using hashes here.

File details

Details for the file haokan_download_icexmoon-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for haokan_download_icexmoon-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ed6b62100702d7ebd632181789a8c9831f369af6d720e877ae76a67b5294ac54
MD5 21c5b8ea8620aae2c212baf4c441240a
BLAKE2b-256 dfed48f1ddfc527f304b0db2c90155a3e60d86b06fc6b69410a41ffb2614e1ae

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page