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/booth.py | |
| parent | 33f8a8a37a9cba738ef25fb99955f0730da9eb48 (diff) | |
New upstream version 1.31.1.upstream/1.31.1
Diffstat (limited to 'gallery_dl/extractor/booth.py')
| -rw-r--r-- | gallery_dl/extractor/booth.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gallery_dl/extractor/booth.py b/gallery_dl/extractor/booth.py index 0fcb1cb..3c000b1 100644 --- a/gallery_dl/extractor/booth.py +++ b/gallery_dl/extractor/booth.py @@ -70,8 +70,7 @@ class BoothItemExtractor(BoothExtractor): url + ".json", headers=headers, interval=False) item["booth_category"] = item.pop("category", None) - item["date"] = text.parse_datetime( - item["published_at"], "%Y-%m-%dT%H:%M:%S.%f%z") + item["date"] = self.parse_datetime_iso(item["published_at"]) item["tags"] = [t["name"] for t in item["tags"]] shop = item["shop"] @@ -84,7 +83,7 @@ class BoothItemExtractor(BoothExtractor): item["count"] = 0 shop["uuid"] = util.NONE - yield Message.Directory, item + yield Message.Directory, "", item for num, file in enumerate(files, 1): url = file["url"] file["num"] = num |
