aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/hentaifoundry.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/hentaifoundry.py')
-rw-r--r--gallery_dl/extractor/hentaifoundry.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/gallery_dl/extractor/hentaifoundry.py b/gallery_dl/extractor/hentaifoundry.py
index 91bcd38..a08f7bb 100644
--- a/gallery_dl/extractor/hentaifoundry.py
+++ b/gallery_dl/extractor/hentaifoundry.py
@@ -136,8 +136,9 @@ class HentaifoundryExtractor(Extractor):
">" + c + ":</span>", "<").replace(",", ""))
data["description"] = text.unescape(extr(
- "class='storyDescript'>", "<div"))
- path = extr('href="', '"')
+ "class='storyDescript'>", '<div class="storyRead">')).replace(
+ "\r\n", "\n")
+ path = extr('class="pdfLink" href="', '"')
data["src"] = self.root + path
data["index"] = text.parse_int(path.rsplit("/", 2)[1])
data["ratings"] = [text.unescape(r) for r in text.extract_iter(extr(