[dt] replace 'text.parse_datetime()' & 'text.parse_timestamp()'

This commit is contained in:
Mike Fährmann
2025-10-17 17:43:06 +02:00
parent d57dc48dcd
commit 085616e0a8
138 changed files with 220 additions and 260 deletions

View File

@@ -51,7 +51,7 @@ class ToyhouseExtractor(Extractor):
extr = text.extract_from(post)
return {
"url": extr(needle, '"'),
"date": text.parse_datetime(extr(
"date": self.parse_datetime(extr(
'</h2>\n <div class="mb-1">', '<'),
"%d %b %Y, %I:%M:%S %p"),
"artists": [