Skip to content

Latest commit

 

History

History
 
 

Weibo_Comment_Pics

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

模拟登录微博手机端爬取海量表情包(开年表情包局部富有指南,盘它!)

项目主要是模拟登录微博手机网页端,爬取指定微博下面的评论数据,并且下载评论中的表情包图片 主要的文件为:

  • photo_crawler.py:代码(带说明和注释)
  • cookie.txt:爬取电脑端网页时的cookie,具有时效性,需要自行更新

运行环境:

  • python3.6

需要安装的包:

  • requests

注:具体分析说明可以关注微信公众号:Alfred数据室,阅读对应文章《开年表情包局部富有指南,盘它!

Weibo memes and stickers crawler

This project Crawls Weibo comment data and downloads memes and stickers from the comment by logining Weibo with Python requests. The main files are listed below:

  • photo_crawler.py:codes(with annotation)
  • cookie.txt:cookie needed for crawling webpage, you should update it by yourself caused it's time-sensitive.

Python environment

  • Python3.6

Packages need to be installed

  • requests

Notice: you can find the detailed document by following Alfred's wechat official account: Alfred_Lab