Scweet icon indicating copy to clipboard operation
Scweet copied to clipboard

get_user_information stops part way through list of users and returns "none"

Open dataslug1 opened this issue 2 years ago • 2 comments

Hi, I have a list of about 1000 users but this function seems to stop scraping after about 55 users, and the resulting "users_info" is just None. There is no error message in the console, just the info of the user that was last scraped. I have manually looked at the user that it stops at, but cannot see any problem with the account.

users = followsdf.User.to_list()[0:300] users_info = get_user_information(users, headless=False)

Please let me know if any advice. Thanks!

dataslug1 avatar Apr 07 '22 12:04 dataslug1

Same problem here, only that it returns the info of about 15 users.

ghost avatar May 12 '22 00:05 ghost

When fetching page information fails, it return None, For example some account name does not exist Twitter

https://github.com/Altimis/Scweet/blob/master/Scweet/user.py#L27

image image

heis71 avatar May 13 '22 06:05 heis71