[zerochan] extract more metadata for single posts

Neither HTML pages nor RSS feed entries have *all* metadata.
It might be necessary to do 1-2 extra HTTP requests to grab everything.
This commit is contained in:
Mike Fährmann
2022-08-14 17:26:29 +02:00
parent 391aecf219
commit 21ff77fea0

View File

@@ -67,6 +67,9 @@ class ZerochanExtractor(BooruExtractor):
"width" : extr('"width": "', ' '),
"height": extr('"height": "', ' '),
"size" : extr('"contentSize": "', 'B'),
"path" : text.split_html(extr(
'class="breadcrumbs', '</p>'))[3::2],
"tags" : extr('alt="Tags: ', '"').split(", ")
}