Giter Club home page Giter Club logo

spider_photo's Introduction

weibo图片抓取

app.js // 微博用户相册图片抓取 (async库 + request库 + cheerio库)
main.js // 微博用户相册图片抓取 (async库 + request库 + cheerio库)
bcy.js // 半次元赞过的COS作品抓取 (async库 + request库 + cheerio库)
bluebird.js // 半次元COS作品抓取 (bluebird库 + request库 + cheerio库)
tomiaaa.js // tomiaaa个人博客图片抓取 (async库 + request库 + cheerio库)
weibo_like.js // 赞过的微博图片抓取 (async库 + request库 + cheerio库)
  1. 安装nodejs
  2. git clone [email protected]:lincenying/spider_photo.git
  3. cd spider_photo
  4. npm install
  5. 修改app.js中的userid和weiboname
  6. node app.js 开始抓取吧...

如何获取userid?

打开你想抓取的用户微博, 点击页面上的"他/她的相册", 地址栏中的/p/一串数字/album 中的一串数字即为userid

weiboname为保存图片的文件夹名称

spider_photo's People

Contributors

lincenying avatar

Watchers

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