aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/catbox.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/catbox.py')
-rw-r--r--gallery_dl/extractor/catbox.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gallery_dl/extractor/catbox.py b/gallery_dl/extractor/catbox.py
index 22f7a97..2066839 100644
--- a/gallery_dl/extractor/catbox.py
+++ b/gallery_dl/extractor/catbox.py
@@ -28,7 +28,7 @@ class CatboxAlbumExtractor(GalleryExtractor):
return {
"album_id" : self.page_url.rpartition("/")[2],
"album_name" : text.unescape(extr("<h1>", "<")),
- "date" : text.parse_datetime(extr(
+ "date" : self.parse_datetime(extr(
"<p>Created ", "<"), "%B %d %Y"),
"description": text.unescape(extr("<p>", "<")),
}
@@ -52,5 +52,5 @@ class CatboxFileExtractor(Extractor):
def items(self):
url = text.ensure_http_scheme(self.url)
file = text.nameext_from_url(url, {"url": url})
- yield Message.Directory, file
+ yield Message.Directory, "", file
yield Message.Url, url, file