Giter Site home page Giter Site logo

eeeeeeeeeeeeeeeeeeeieeeeeeeeeeeeeeeeee / wechat_crawler Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zzwwjjdj319/wechat_crawler

0.0 1.0 0.0 6 KB

nodejs爬虫-通过抓取搜狗微信网站获取微信文章信息!

Home Page: http://117.40.138.188:15978/wxmatrix/app/page/article-top-list

JavaScript 100.00%

wechat_crawler's Introduction

wechat_crawler

nodejs爬虫-通过抓取搜狗微信网站获取微信文章信息!

说明

使用的模块

代码说明

  • app.js是主文件,npm installnode app 就可以启动爬虫任务,测试是支付宝公众号,爬取了最近5篇文章;
  • common.js是封装好的各种方法.
  • 爬取的思路 : 从搜索开始 -> 进入公众号文章列表页面 -> 再分别访问每篇文章 ->同时ajax获取点赞量,阅读量等信息. 因为公众号文章列表和文章内容页的url都是临时链接,大概是2个小时过期,所以每次都需要从搜索开始爬取.
  • 注意验证码问题,nodejs识别验证码暂时没找到好用的模块,我使用的是第三方接口实现的.授权码已屏蔽.
  • 整个爬取过程已完成.至于最后是写成接口还是自动运行,都可以自行修改.

有问题反馈

在使用中有任何问题,欢迎反馈给我.

感激

感谢以下的朋友,排名不分先后

wechat_crawler's People

Contributors

zzwwjjdj319 avatar

Watchers

James Cloos 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.