Code Monkey home page Code Monkey logo

qidian-book-downloader's Introduction

起点已订阅图书下载器

起点中文网已经订阅的图书也不提供VIP部分的MOBI格式下载。为了方便在Kindle上看已经买了的书,搞了这么一个下载器。

特别提示有些完本的小说已经可以在 Kindle 商店中买到。

基本原理

使用 Puppeteer 调用 Chromium 模拟用户登陆起点,然后打开图书的目录页开始爬,最后将结果写到html文件中。

之后可以使用 Calibre 之类的工具直接转换成 MOBI 格式传到 Kindle 中。

使用方法

yarn run build
node .\bin\index.js run --chrome <Chrome Path> -u <QiDian username> -p <QiDian password> -i <book id>

例如小说的目录页在 https://book.qidian.com/info/1011280743#Catalog 那么它的 BookID 就是 1011280743。

如果报错的话,可以加上参数 --no-chrome-headless 看看是怎么回事。

qidian-book-downloader's People

Contributors

dependabot[bot] avatar hcoona avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mylylyl

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.