From 9992ff38dafbd36b1972f43589d1dfc2e754d2ad Mon Sep 17 00:00:00 2001 From: Alice <38675581+alice945@users.noreply.github.com> Date: Fri, 17 Sep 2021 10:59:00 -0700 Subject: [PATCH] [fantia] add 'date' metadata field (#1853) --- gallery_dl/extractor/fantia.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gallery_dl/extractor/fantia.py b/gallery_dl/extractor/fantia.py index 9df2bef8..5a359b7d 100644 --- a/gallery_dl/extractor/fantia.py +++ b/gallery_dl/extractor/fantia.py @@ -66,6 +66,7 @@ class FantiaExtractor(Extractor): "comment": resp["comment"], "rating": resp["rating"], "posted_at": resp["posted_at"], + "date": text.parse_datetime(resp["posted_at"], "%a, %d %b %Y %H:%M:%S %z"), "fanclub_id": resp["fanclub"]["id"], "fanclub_user_id": resp["fanclub"]["user"]["id"], "fanclub_user_name": resp["fanclub"]["user"]["name"],