diff --git a/gallery_dl/extractor/hentaifoundry.py b/gallery_dl/extractor/hentaifoundry.py
index 691cefb8..07414510 100644
--- a/gallery_dl/extractor/hentaifoundry.py
+++ b/gallery_dl/extractor/hentaifoundry.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-# Copyright 2015-2020 Mike Fährmann
+# Copyright 2015-2022 Mike Fährmann
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
@@ -84,12 +84,12 @@ class HentaifoundryExtractor(Extractor):
.replace("\r\n", "\n"), "", "")),
"ratings" : [text.unescape(r) for r in text.extract_iter(extr(
"class='ratings_box'", ""), "title='", "'")],
- "media" : text.unescape(extr("Media\t\t
", "<")),
"date" : text.parse_datetime(extr("datetime='", "'")),
- "views" : text.parse_int(extr("Views | \t\t", "<")),
+ "views" : text.parse_int(extr(">Views", "<")),
+ "score" : text.parse_int(extr(">Vote Score", "<")),
+ "media" : text.unescape(extr(">Media", "<").strip()),
"tags" : text.split_html(extr(
- " | Keywords | ", ""))[::2],
- "score" : text.parse_int(extr('Score\t\t', '<')),
+ ">Tags ", "")),
}
return text.nameext_from_url(data["src"], data)
@@ -292,7 +292,7 @@ class HentaifoundryImageExtractor(HentaifoundryExtractor):
"media" : "Other digital art",
"ratings": ["Sexual content", "Contains female nudity"],
"score" : int,
- "tags" : ["kancolle", "kantai", "collection", "shimakaze"],
+ "tags" : ["collection", "kancolle", "kantai", "shimakaze"],
"title" : "shimakaze",
"user" : "Tenpura",
"views" : int,
|