taspinar / twitterscraper

Scrape Twitter for Tweets
MIT License
2.4k stars 578 forks source link

AttributeError: 'NoneType' object has no attribute 'followers' #278

Open evelynsun327 opened 4 years ago

evelynsun327 commented 4 years ago

When I tried to scrape some users' followers, some of them work fine, but the others give me the following error "'NoneType' object has no attribute 'followers'".

For example, if I do: query_user_info('MikeHuckman').followers it works, but if I do: query_user_info('stocktrader4').followers it returns an error, but when I check on twitter, it actually has some followers

can you help to fix it? thanks!

lapp0 commented 4 years ago

I pushed a fix for this to https://github.com/taspinar/twitterscraper/pull/302

Please try it out and let me know if you have any issues