roadwide / weiborelation Goto Github PK
View Code? Open in Web Editor NEW微博关系分析/爬取微博的所有关注和所有粉丝
微博关系分析/爬取微博的所有关注和所有粉丝
Reloaded modules: WEIBO, WEIBO.WEIBO, WEIBO.Find
Traceback (most recent call last):
File "C:\Users\butters\Desktop\WeiBoRelation-master\main.py", line 11, in
w.discoverRelation(max_fans=1000)
File "C:\Users\butters\Desktop\WeiBoRelation-master\WEIBO\WEIBO.py", line 250, in discoverRelation
self.getRelationData(self.WBID, max_fans=max_fans)
File "C:\Users\butters\Desktop\WeiBoRelation-master\WEIBO\WEIBO.py", line 238, in getRelationData
self.get_all_fans(max_fans=max_fans)
File "C:\Users\butters\Desktop\WeiBoRelation-master\WEIBO\WEIBO.py", line 191, in get_all_fans
max_turn = self.get_fans_num() // 20 + 1
File "C:\Users\butters\Desktop\WeiBoRelation-master\WEIBO\WEIBO.py", line 144, in get_fans_num
fans_num = re.findall(">粉丝[(.+?)]<", str(user_div))[0]
IndexError: list index out of range
如果能够继续更新关系功能就好了,例如互关的好友、地区相同的好友、互动量大于多少多少的好友
太给力了,昨天准备自己写一个来着,突然发现github上有大佬已经写了
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.