diff options
| author | 2025-12-20 05:49:04 -0500 | |
|---|---|---|
| committer | 2025-12-20 05:49:04 -0500 | |
| commit | a24ec1647aeac35a63b744ea856011ad6e06be3b (patch) | |
| tree | ae94416de786aeddd05d99559098f7f16bb103a6 /gallery_dl/extractor/picarto.py | |
| parent | 33f8a8a37a9cba738ef25fb99955f0730da9eb48 (diff) | |
New upstream version 1.31.1.upstream/1.31.1
Diffstat (limited to 'gallery_dl/extractor/picarto.py')
| -rw-r--r-- | gallery_dl/extractor/picarto.py | 5 |
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: |
