[kemonoparty] fix parsing of non-standard 'dates' (#4676)

This commit is contained in:
Mike Fährmann
2023-10-26 21:50:18 +02:00
parent 75dec71253
commit 3bbaa875f1
2 changed files with 19 additions and 4 deletions

View File

@@ -199,6 +199,16 @@ __tests__ = (
"#exception": exception.NotFoundError,
},
{
"#url" : "https://kemono.su/patreon/user/6298789/post/69764693",
"#comment" : "'published' metadata with extra microsecond data",
"#category": ("", "kemonoparty", "patreon"),
"#class" : kemonoparty.KemonopartyPostExtractor,
"date" : "dt:2022-07-29 21:12:11",
"published": "2022-07-29T21:12:11.483000",
},
{
"#url" : "https://kemono.party/discord/server/488668827274444803#608504710906904576",
"#category": ("", "kemonoparty", "discord"),