GithubHelp home page GithubHelp logo

weiborelation's Issues

你好。运行MAIN.PY后出现以下错误,请问如何解决

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上有大佬已经写了

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.