From f8dac183d0749e6c63bbb59861388769a05dfa67 Mon Sep 17 00:00:00 2001 From: JustAnotherArchivist Date: Sun, 23 May 2021 02:43:53 +0000 Subject: [PATCH] Fix type of User.id --- snscrape/modules/twitter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snscrape/modules/twitter.py b/snscrape/modules/twitter.py index 6f0fdbd..bdbf5a9 100644 --- a/snscrape/modules/twitter.py +++ b/snscrape/modules/twitter.py @@ -113,7 +113,7 @@ class User(snscrape.base.Entity): username: str displayname: str - id: str # Seems to always be numeric, but the API returns it as a string, so it might also contain other things in the future + id: int description: typing.Optional[str] = None # Description as it's displayed on the web interface with URLs replaced rawDescription: typing.Optional[str] = None # Raw description with the URL(s) intact descriptionUrls: typing.Optional[typing.List[DescriptionURL]] = None