mirror of
https://github.com/bellingcat/snscrape.git
synced 2026-06-12 12:28:28 +03:00
Fix type of content field (may be None on text-less posts)
This commit is contained in:
@@ -15,7 +15,7 @@ logger = logging.getLogger(__name__)
|
|||||||
class InstagramPost(snscrape.base.Item):
|
class InstagramPost(snscrape.base.Item):
|
||||||
url: str
|
url: str
|
||||||
date: datetime.datetime
|
date: datetime.datetime
|
||||||
content: str
|
content: typing.Optional[str]
|
||||||
thumbnailUrl: str
|
thumbnailUrl: str
|
||||||
displayUrl: str
|
displayUrl: str
|
||||||
username: typing.Optional[str]
|
username: typing.Optional[str]
|
||||||
|
|||||||
Reference in New Issue
Block a user