taspinar / twitterscraper

Scrape Twitter for Tweets
MIT License
2.39k stars 581 forks source link

AttributeError: 'NoneType' object has no attribute 'user' while running example script #341

Open danielp3011 opened 3 years ago

danielp3011 commented 3 years ago

Hello,

I tried running the get_twitter_user_data.py example script, however it gave me an Attribute Error coming from line 41:

for user in pool.map(get_user_info,users):

Why does it arrise?

Thank you

mahdishemshadi commented 2 years ago

Hi, I also got this error. In my case the problem was in the function "query_user_page" in query.py. Debug the code to find where exactly is the problem