mirror of
https://github.com/bellingcat/snscrape.git
synced 2026-06-08 02:28:29 +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):
|
||||
url: str
|
||||
date: datetime.datetime
|
||||
content: str
|
||||
content: typing.Optional[str]
|
||||
thumbnailUrl: str
|
||||
displayUrl: str
|
||||
username: typing.Optional[str]
|
||||
|
||||
Reference in New Issue
Block a user