Code Monkey home page Code Monkey logo

ituring-downloader's Introduction

ituring-downloader 图灵阅读书籍下载器

一键下载 图灵阅读社区书架上 的书籍。

安装

git clone https://github.com/laispace/ituring-downloader.git
// 或者 
// npm intall ituring-downloader

cd ituring-downloader

npm install

使用方法

需要使用 v7.6.0 或更高版本的 Node.

node lib/ibd username password pathToSave bookUrls
  • username:String 账号名字

  • password:String 账号密码

  • pathToSave:String 书籍保存到本地的路径

  • book_urls:Array 需要下载的书籍,缺省则表示下载所有数据

下载指定的多本书籍

// 下载《算法图解》和《图解设计模式》
ibd MY_USERNAME MY_PASSWORD ./books http://www.ituring.com.cn/book/1864 http://www.ituring.com.cn/book/1811

下载书架上所有书籍

// 下载所有书架上的书籍,默认保存到 './books' 目录
ibd MY_USERNAME MY_PASSWORD

注意,该脚本是抓取指定账号在图灵社区购买的正版电子书,只能抓取已购买书籍,下载后仅供自己阅读,请勿肆意传播,否则后果自负!

下载效果

ituring-downloader's People

Contributors

laispace 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.