twitterscraper
twitterscraper copied to clipboard
profiles are not scraped when there are no tweets
I found out that the profiles are not scraped if there are no tweets made by the accounts:
from twitterscraper.query import query_user_info
user_info = query_user_info(user= 'AmericanEagleEq')
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-26-dfb37d2c2df1> in <module>
----> 1 user_info.location
AttributeError: 'NoneType' object has no attribute 'location'
However, when I insert a handle that has a tweet, it returns all results for user_info.
Could this be fixed?