aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/picarto.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/picarto.py')
-rw-r--r--gallery_dl/extractor/picarto.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/gallery_dl/extractor/picarto.py b/gallery_dl/extractor/picarto.py
index 62ac38a..b0fa079 100644
--- a/gallery_dl/extractor/picarto.py
+++ b/gallery_dl/extractor/picarto.py
@@ -29,10 +29,9 @@ class PicartoGalleryExtractor(Extractor):
def items(self):
for post in self.posts():
- post["date"] = text.parse_datetime(
- post["created_at"], "%Y-%m-%d %H:%M:%S")
+ post["date"] = self.parse_datetime_iso(post["created_at"])
variations = post.pop("variations", ())
- yield Message.Directory, post
+ yield Message.Directory, "", post
image = post["default_image"]
if not image: