爬知乎妹子头像
利用知乎app的api抓头像
逻辑:
- 获得当前登录账号关注的所有用户
- 取出他们的id和头像url, 下载头像
- 把刚刚获取到的user_id加到一个队列, 然后获取这个人关注的所有用户
- 回到第二步循环
遇到的坑:
- 已爬过的用户id去重, 通过文件名判断不重复下载头像
- 这个脚本是通过协程去爬api, 知乎对请求次数做了限制, 下载了1000多个头像我的号就被封了😂.
This project forked from dch1228/crawl_zhihu_avatar
爬知乎头像
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.