Make PeriscopeBroadcastCard.thumbnailUrl optional to handle tweets without a thumbnail

Fixes #507
This commit is contained in:
JustAnotherArchivist
2022-08-21 01:58:41 +00:00
parent d6bce5b1d6
commit 9294c26ffa

View File

@@ -226,7 +226,7 @@ class PeriscopeBroadcastCard(Card):
description: str
state: str
totalParticipants: int
thumbnailUrl: str
thumbnailUrl: typing.Optional[str] = None
source: typing.Optional[str] = None
broadcaster: typing.Optional['User'] = None
siteUser: typing.Optional['User'] = None