Socket
Socket
Sign inDemoInstall

ituring-downloader

Package Overview
Dependencies
42
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ituring-downloader


Version published
Maintainers
1
Created

Readme

Source

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

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

下载效果

FAQs

Last updated on 28 Oct 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc