[4archive] fix 'thread' extractor

This commit is contained in:
Mike Fährmann
2025-06-08 21:52:54 +02:00
parent a25e14e776
commit 5f41ac4257

View File

@@ -66,7 +66,7 @@ class _4archiveThreadExtractor(Extractor):
"date": text.parse_datetime( "date": text.parse_datetime(
extr('class="dateTime postNum" >', "<").strip(), extr('class="dateTime postNum" >', "<").strip(),
"%Y-%m-%d %H:%M:%S"), "%Y-%m-%d %H:%M:%S"),
"no" : text.parse_int(extr('href="#p', '"')), "no" : text.parse_int(extr(">Post No.", "<")),
} }
if 'class="file"' in post: if 'class="file"' in post:
extr('class="fileText"', ">File: <a") extr('class="fileText"', ">File: <a")