Skip to main content

Search and download comic.

Project description

Manga-dl

Manga-dl is a command line tool which helps you search and download comic from multiple sources.

Support for Mangabz、Manhuagui、Manhuabei and Manhuadb. See supported sources.

Python3 Only. Python 3.7+ Recommended.

English | 中文文档

Manga-dl是一个基于Python3的命令行工具,可以从多个网站搜索和下载漫画,方便寻找漫画,解决不知道哪个网站有版权的问题。工具的本意是聚合搜索,API是从公开的网络中获得,不是破解版,也不能下载付费漫画。

欢迎提交插件支持更多漫画站点!插件写法参考manga_dl/addons中的文件。查看 支持的漫画站点

禁止将本工具用于商业用途,如产生法律纠纷与本人无关,如有侵权,请联系我删除。

功能

  • 使用解析js的方式爬取图片
  • 支持 HTTP 和 SOCKS 代理
  • 支持搜索结果去重和排序
  • 支持搜索关键字高亮
  • 支持多线程下载

注意:仅支持Python3,建议使用 Python3.7 以上版本

安装

使用pip安装(推荐,注意前面有一个py):

$ pip install pymanga-dl

手动安装(最新):

$ git clone https://github.com/iworldtong/manga-dl.git
$ cd manga-dl
$ python setup.py install

不安装直接运行:

$ git clone https://github.com/iworldtong/manga-dl.git
$ cd manga-dl
$ pip install -r requirements.txt
$ ./manga-dl

# 或 python manga-dl

在以下环境测试通过:

系统名称 系统版本 Python版本
macOS 10.15 3.7.3

使用方式

建议先查看帮助

$ manga-dl --help
Usage: manga-dl [OPTIONS]

  Search and download comic from multiple sources.

  Example: manga-dl -k 辉夜大小姐

Options:
  --version             Show the version and exit.
  -k, --keyword TEXT    搜索关键字
  -u, --url TEXT        通过指定的漫画URL下载
  -s, --source TEXT     支持的数据源 ('+'分割): manhuabei+mangabz
  -n, --number INTEGER  搜索数量限制
  -o, --outdir TEXT     指定输出目录, 默认'./manga'
  -x, --proxy TEXT      指定代理(如socks5://127.0.0.1:1086)
  -v, --verbose         详细模式
  --nomerge             不对搜索结果列表排序和去重
  --help                Show this message and exit.
  • 默认搜索mangabz, manhuagui, manhuabei, manhuadb ,每个数量限制为5,保存目录为./manga
  • 指定序号时可以使用1-5 7 10的形式
  • 默认对搜索结果排序和去重
  • 支持http代理和socks代理,格式形如-x http://127.0.0.1:1087-x socks5://127.0.0.1:1086

示例:

支持的漫画站点

网站 名称 简介
Mangabz 全網資源最全的在線漫畫、日本漫畫閱讀平臺。擁有時下最熱門的日漫作品,超快的更新速度,第一時間為你奉上極致的閱讀體驗。
漫画柜 海量的国产漫画、日韩漫画、欧美漫画等丰富漫画资源,免费为漫画迷提供及时的更新、清新的界面和舒适的体验,努力打造属于漫画迷的漫画乐园。...
漫画呗 原名漫画堆、50漫画网,非商业性的二次元分享交流网站,不仅是一个提供宣传推广全世界各种不同漫画文化的分享交流平台,更致力于推动和发展国内原创动漫。
漫画DB 最专业的日本漫画大全资料库。所有漫画均可免费在线看,同时每部漫画都有丰富的资料,包括登场人物、用语、设定、改编作品及创作幕后等深层的内容。

欢迎提交插件支持更多漫画源!插件写法参考manga_dl/addons中的文件

更新记录

  • 2020-08-15 完成v0.1版

LICENSE

MIT License

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

pymanga-dl-0.1.4.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pymanga_dl-0.1.4-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

Details for the file pymanga-dl-0.1.4.tar.gz.

File metadata

  • Download URL: pymanga-dl-0.1.4.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for pymanga-dl-0.1.4.tar.gz
Algorithm Hash digest
SHA256 688c712af59b40de98be0bec5b153fafd412e2f00fd11c132b1e2d994d41771b
MD5 64126a6e0d4f79021a90b80bb2aec93d
BLAKE2b-256 e39b531458d72ca7251be31fa03f43e5482c2795b84173c6608dbd792d5cdf6a

See more details on using hashes here.

File details

Details for the file pymanga_dl-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: pymanga_dl-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 25.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for pymanga_dl-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e7272946a4ce54e38c11511c48481b0c6125c88d371624354bd9d1dc6a54fdce
MD5 692dbd2e2c8c1aafa52f7e4be27a81f4
BLAKE2b-256 39d35a64a0adc72926432455a0a49b1595cee67943b6d0aadd55634fc43602c4

See more details on using hashes here.

Supported by

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