Giter VIP home page Giter VIP logo

epubit-ebook-download's Introduction

异步图书e读版本下载工具

此项目代码仅供个人学习参考, 严禁用于违法传播图书等.

Fork from alanwei43/epubit-ebook-download.

下载方法

  1. 将本项目clone到本地, 执行 npm install (国内环境可使用 npm install --registry=https://registry.npm.taobao.org).
  2. 进入异步社区登陆账号, 进入书籍的e读在线阅读页面 ( 必须是已经购买了的书, 比如《免费示例书籍》 ), 打开浏览器开发者工具, 过滤找到 /pubcloud/content/front/ebookFolderTree 请求, 记下请求的 Cookie 值(包含acw_tcSESSION)和请求参数的 projectId 值. request
  3. 项目根目录执行 npm run download, 按提示输入步骤2记下的 CookieprojectId. download
  4. logs/ 目录下有下载进度日志, 下载内容会保存到 books/ 目录. result

批量下载

  1. 将 cookie 和 project id 维护到 package.jsonconfig 配置节, 然后执行 npm run download 即可. batch config

阅读

  1. 执行 npm run reader, 然后使用浏览器访问 http://localhost:8002/reader/ 即可. (阅读的前提是 /books 目录下有下载好的书籍), 效果如下:

reader

epubit-ebook-download's People

Contributors

alanwei43 avatar

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.