Giter VIP home page Giter VIP logo

allitebooks's Introduction

爬取All IT eBooks 图书资源

鉴于不要给AllITeBooks网站带来太大的流量压力,搜索的输入应该尽可能详细,减到爬取得无用的结果。 我也争取能把整个网站pdf文件爬取出来,然后放到百度云上

1.安装

git clone https://github.com/wangzhengya/allitebooks.git
cd allitebooks
npm install

2.搜索关键词

npm start
得到一个以pdf.txt结尾的文本,里面含有下载pdf的链接,复制到迅雷中下载即可

3.按照分类爬取链接

node index2.js
输入:分类的网址后半部分,如:web-development/javascript
得到一个以pdf.txt文本,里面含有下载pdf的链接,复制到迅雷中下载即可

4.爬取所有pdf文件

node index3.js
得到一个以pdf.txt文本,里面含有下载pdf的链接,复制到迅雷中下载即可

sceenshot

allitebooks's People

Contributors

wangzhengya avatar

Watchers

 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.