aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/booth.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-12-20 05:49:04 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2025-12-20 05:49:04 -0500
commita24ec1647aeac35a63b744ea856011ad6e06be3b (patch)
treeae94416de786aeddd05d99559098f7f16bb103a6 /gallery_dl/extractor/booth.py
parent33f8a8a37a9cba738ef25fb99955f0730da9eb48 (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.py5
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