Giter VIP home page Giter VIP logo

book-spider's Introduction

book-spider

简介

这是一个NodeJS爬虫项目, 用于爬取爱去小说网的小说资源

用到的模快主要有superagent,cheerio,superagent-charset,mysql,cron,bluebird

本项目在Ubuntu环境下开发,未进行Windows测试,NodeJS版本为 v7.1.0

感谢开发本项目依赖模快的开源界前辈

安装

git clone https://github.com/lxzan/book-spider.git
cd book-spider
npm install (安装速度较慢,建议使用cnpm)

创建数据库,文件在spider.sql

配置 src/db.js.template的mysql账户密码并将文件文件改名为db.js

启动

node --harmony index.js <url>
url表示小说目录页面url, 如 http://www.aiquxs.com/read/41/41742/index.html

book-spider's People

Contributors

lxzan avatar masterbool avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

gyjsuccess inier

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.