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/sites中的文件。查看 支持的漫画站点

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

功能

  • 使用解析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 Mangabz, Manhuagui, Manhuabei, Manhuadb.
  Example: manga-dl -k ""

Options:
  --version             Show the version and exit.
  -k, --keyword TEXT    搜索漫画关键字(如"辉夜大小姐")
  -u, --url TEXT        通过指定的歌曲URL下载音乐
  -s, --source TEXT     Supported comic source: mangabz, manhuagui, manhuabei, manhuadb
  -n, --number INTEGER  Number of search results
  -o, --outdir TEXT     Output directory
  -x, --proxy TEXT      Proxy (e.g. socks5://127.0.0.1:1086)
  -r, --reverse         对漫画章节降序下载
  --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/sites中的文件

更新记录

  • 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.1.tar.gz (19.7 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.1-py3-none-any.whl (23.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pymanga-dl-0.1.1.tar.gz
  • Upload date:
  • Size: 19.7 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.1.tar.gz
Algorithm Hash digest
SHA256 2d4a1eab95d10b90dcc51bf5ab981b4ef7ef174840195118fecd514bd6fa183a
MD5 c353f17fe4b117876b31cfb90f35d97e
BLAKE2b-256 6adbf2c226ec671927b34c5c63f79aa2ad24c318fa215c62c502da1256394308

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pymanga_dl-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 23.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4e674f5ff284223edee922380a043540c18ad1408fc144c4d97a37086e40c1e1
MD5 fdd5439bcd8a7ba63160c6b6759ca7b6
BLAKE2b-256 c6e534ba207c158999008f1a6bb631cbcc2afc4973abd4f4de359dd809ee2b6b

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