mirror of
https://github.com/bellingcat/snscrape.git
synced 2026-06-13 04:48:28 +03:00
Make PeriscopeBroadcastCard.thumbnailUrl optional to handle tweets without a thumbnail
Fixes #507
This commit is contained in:
@@ -226,7 +226,7 @@ class PeriscopeBroadcastCard(Card):
|
|||||||
description: str
|
description: str
|
||||||
state: str
|
state: str
|
||||||
totalParticipants: int
|
totalParticipants: int
|
||||||
thumbnailUrl: str
|
thumbnailUrl: typing.Optional[str] = None
|
||||||
source: typing.Optional[str] = None
|
source: typing.Optional[str] = None
|
||||||
broadcaster: typing.Optional['User'] = None
|
broadcaster: typing.Optional['User'] = None
|
||||||
siteUser: typing.Optional['User'] = None
|
siteUser: typing.Optional['User'] = None
|
||||||
|
|||||||
Reference in New Issue
Block a user