[dt] use 'parse_datetime_iso()' for ISO formats

This commit is contained in:
Mike Fährmann
2025-10-19 19:31:31 +02:00
parent 5802107cdf
commit c38856bd3f
57 changed files with 102 additions and 165 deletions

View File

@@ -119,8 +119,7 @@ class LensdumpImageExtractor(LensdumpBase, Extractor):
'property="image:width" content="', '"')),
"height": text.parse_int(extr(
'property="image:height" content="', '"')),
"date" : self.parse_datetime(extr(
'<span title="', '"'), "%Y-%m-%d %H:%M:%S"),
"date" : self.parse_datetime_iso(extr('<span title="', '"')),
}
text.nameext_from_url(data["url"], data)