twitterscraper icon indicating copy to clipboard operation
twitterscraper copied to clipboard

profiles are not scraped when there are no tweets

Open ehsong opened this issue 4 years ago • 0 comments

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?

ehsong avatar Jul 09 '20 08:07 ehsong