Skip to content

nusr/ComicHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

dc03d54 · Nov 5, 2019
Aug 31, 2019
Oct 2, 2019
Sep 22, 2019
Sep 22, 2019
Nov 5, 2019
Jul 24, 2019
Aug 14, 2019
Sep 22, 2019
Sep 22, 2019
Oct 2, 2019
Jul 23, 2019
Jul 24, 2019
Sep 5, 2019
May 14, 2019
Sep 22, 2019
Jul 26, 2019
Aug 31, 2019
Nov 5, 2019
Aug 4, 2019

Repository files navigation

Project logo

ComicHub

build status Test coverage codebeat badge Codacy Badge DeepScan grade GitHub last commit (branch) GitHub commit activity the past week, 4 weeks, year GitHub top language GitHub code size in bytes PRs Welcome MIT License


Comic Downloader (漫画下载器)

介绍

ComicHub 是一款漫画下载器。爬取漫画网站的图片,生成 PDF 文件。

技术栈

  • Koa - Expressive middleware for node.js using ES2017 async functions
  • MySQL
  • React - A declarative, efficient, and flexible JavaScript library for building user interfaces.
  • Typescript - TypeScript is a superset of JavaScript

🎉 功能

  1. 下载一集漫画
  2. MySQL 存储爬取链接
  3. 前端交互页面
  4. 生成 PDF 文件
  5. 多语言
  6. 下载一部漫画

支持的网站

更多站点,敬请期待!

  1. 看漫画 (https://www.manhuagui.com)
  2. 土豪漫画 (https://www.tohomh123.com)
  3. 有妖气漫画 (http://www.u17.com)
  4. 快看动漫 (https://www.kuaikanmanhua.com)
  5. 腾讯动漫 (https://ac.qq.com)

装包

配置淘宝镜像,加快下载速度

不推荐使用 cnpm 安装依赖

$ npm i -g nrm # Mac 用户加上 sudo
$ nrm use taobao

前端安装依赖

$ npm install

服务端安装依赖

$ cd server
$ npm install

运行

启动前端页面

$ npm run start

启动服务端

$ npm run start:server

测试

$ npm run test

打包

$ npm run build

支持更多格式

目前只支持 PDF 。更多格式请使用下列工具转换。

  1. GUI 转换工具 https://calibre-ebook.com/
  2. 命令行转换工具 https://pandoc.org/index.html

新增漫画网站

  1. 查看 /docs/joinUs.md 开发说明。
  2. /server/router/index.ts 里添加路由。
  3. /server/routes/ 中新增脚本。

参与项目

欢迎提交 issue 以及 Pull Requests 。

为了避免版权纠纷,只抓取免费漫画。

类似项目

  1. work_crawler