mirror of
https://github.com/bellingcat/snscrape.git
synced 2026-06-12 04:18:29 +03:00
Fix user ID being a string instead of an int on the entity
This commit is contained in:
@@ -722,7 +722,7 @@ class TwitterUserScraper(TwitterSearchScraper):
|
||||
label = self._user_label_to_user_label(labelO)
|
||||
return User(
|
||||
username = user['legacy']['screen_name'],
|
||||
id = user['rest_id'],
|
||||
id = int(user['rest_id']),
|
||||
displayname = user['legacy']['name'],
|
||||
description = description,
|
||||
rawDescription = rawDescription,
|
||||
|
||||
Reference in New Issue
Block a user