aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/simplyhentai.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/simplyhentai.py')
-rw-r--r--gallery_dl/extractor/simplyhentai.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/gallery_dl/extractor/simplyhentai.py b/gallery_dl/extractor/simplyhentai.py
index d6541b2..78d3daf 100644
--- a/gallery_dl/extractor/simplyhentai.py
+++ b/gallery_dl/extractor/simplyhentai.py
@@ -48,7 +48,7 @@ class SimplyhentaiGalleryExtractor(GalleryExtractor):
"characters": split(extr('box-title">Characters</div>', '</div>')),
"tags" : split(extr('box-title">Tags</div>', '</div>')),
"artist" : split(extr('box-title">Artists</div>', '</div>')),
- "date" : text.parse_datetime(text.remove_html(
+ "date" : self.parse_datetime(text.remove_html(
extr('Uploaded', '</div>')), "%d.%m.%Y"),
}
data["lang"] = util.language_to_code(data["language"])
@@ -106,7 +106,7 @@ class SimplyhentaiImageExtractor(Extractor):
})
data["token"] = data["filename"].rpartition("_")[2]
- yield Message.Directory, data
+ yield Message.Directory, "", data
yield Message.Url, url, data
@@ -152,9 +152,9 @@ class SimplyhentaiVideoExtractor(Extractor):
"episode": text.parse_int(episode),
"tags": text.split_html(tags)[::2],
"type": "video",
- "date": text.parse_datetime(text.remove_html(
+ "date": self.parse_datetime(text.remove_html(
date), "%B %d, %Y %H:%M"),
})
- yield Message.Directory, data
+ yield Message.Directory, "", data
yield Message.Url, video_url, data