Skip to content

Commit

Permalink
[zerochan] extract more metadata for single posts
Browse files Browse the repository at this point in the history
Neither HTML pages nor RSS feed entries have *all* metadata.
It might be necessary to do 1-2 extra HTTP requests to grab everything.
  • Loading branch information
mikf committed Aug 14, 2022
1 parent 391aecf commit 21ff77f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gallery_dl/extractor/zerochan.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ def _parse_entry_page(self, entry_id):
"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(", ")
}


Expand Down

0 comments on commit 21ff77f

Please sign in to comment.