GithubHelp home page GithubHelp logo

hhy5277 / baidu_tieba_crawler Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tyaqing/baidu_tieba_crawler

0.0 1.0 0.0 90 KB

技术栈vue cheerio socket mongodb redis 在线演示地址

Home Page: http://tb.femirror.com/

JavaScript 60.24% HTML 0.29% Vue 32.71% CSS 6.75%

baidu_tieba_crawler's Introduction

baidu_tieba_crawler

演示地址

服务器很慢,请原谅

一定要安装redis以及开启redis服务!!!

1.3更新说明

  • 使用redis队列爬取 所有爬取任务都会插入到队列 实现后台爬取
  • socket 只用于通讯,其他接口均换成http请求
  • 增加了右边的队列的监控

更迭期望

  • 数据分析
  • 任务队列,实现无需驻足网页爬取,而是后台爬取
  • 代码优化 部分重写

项目地址

https://github.com/tyaqing/baidu_tieba_crawler 喜欢的给个star

使用说明书

!!!爬虫类的东东还是友善使用

程序运行不起来就要检查下 以下接口是否替换

~ 代理的api接口  mongo地址 socket地址 ~

真·调试

npm i          //安装后端依赖
node server.js //运行restful api 和socket服务 默认端口8081
cd fe          //进入前端目录
npm i          //安装前端依赖
npm run dev    //运行调试模式  默认端口8080

@Molunerfinn 谢谢建议

关于技术栈

用到的东西挺多的,但是都是用了点皮毛知识,提前踩坑。

前端的

vue大礼包(vue-resource vue-router vue-socket.id element-ui)

后端的

express socket.io superagent cheerio mongoose kue

数据库

mongo

baidu_tieba_crawler's People

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.