[pixiv] add 'date' metadata field (closes #248)

This commit is contained in:
Mike Fährmann
2019-05-08 00:14:51 +02:00
parent d09864b581
commit 80fdb11508

View File

@@ -42,6 +42,7 @@ class PixivExtractor(Extractor):
del work["meta_pages"]
work["num"] = ""
work["tags"] = [tag["name"] for tag in work["tags"]]
work["date"] = text.parse_datetime(work["create_date"])
work.update(metadata)
yield Message.Directory, work