aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/booth.py
diff options
context:
space:
mode:
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