Fix user ID being a string instead of an int on the entity

This commit is contained in:
JustAnotherArchivist
2022-01-12 22:35:50 +00:00
parent a32d79fab2
commit e6076353c8

View File

@@ -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,