Coder Social home page Coder Social logo

weiboimg-crawler's Introduction

weiboimg-crawler

微博相册爬虫

基于Python3,需要 requests 库支持:

sudo -H pip install BeautifulSoup4 requests

画蛇添足的用了SQLite3写数据库。

使用方法

在nickname.txt里,一行一个微博昵称,保存。然后执行

python main.py

That's all.

P.S.

通过 m.weibo.cn 实现单个用户的全部微博内容抓取(然而并没有真的全保存下来)。
只下载原创微博的配图,所以严格来说并不是相册下载器。

写完了以后发现其实可以扩展更多用途,比如按照微博的话题进行筛选之类的。

总之你可以用它来下载coser和摄影微博的那些照片(虽然写脚本的本意不是为了这个

← ← 也可以用来爬那些职业发车的老司机的微博内容(发现好像这个挺实用

weiboimg-crawler's People

Stargazers

Lake Chan avatar

Watchers

Ni Jiasheng 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.