some enhancements for facebook/instagram modules
figured out that datetimes are naive better username handling + investigation of thread names
This commit is contained in:
parent
7323e99504
commit
757b5eb8c9
4 changed files with 29 additions and 13 deletions
|
@ -38,10 +38,12 @@ class Thread:
|
|||
name: Optional[str]
|
||||
|
||||
# todo not sure about order of fields...
|
||||
from ..core import datetime_naive
|
||||
@dataclass
|
||||
class _BaseMessage:
|
||||
id: str
|
||||
dt: datetime
|
||||
# checked against a message sent on 4 may 2022, and it does look naive
|
||||
dt: datetime_naive
|
||||
text: Optional[str]
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue