[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:
@@ -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(", ")
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user