Skip to content

Bulk asynchronous downloader for multiple file hosts

fix: date extraction (nsfw.xxx) (#1852)

NTFSvolume949df9c7a79d
diff --git a/CHANGELOG.md b/CHANGELOG.md
index eae4536e0..7757f6162 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -40,6 +40,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Date extration (Sex.com)
- Video extraction from embed URLs (YouJizz)
- Date extraction (Rule34.xxx)
+- Date extraction (Nsfw.xxx)
- Date extraction (e621)
- Chapter info extraction (OmegaScans)
diff --git a/cyberdrop_dl/crawlers/nsfw_xxx.py b/cyberdrop_dl/crawlers/nsfw_xxx.py
index be4e6f1ba..6aab3b517 100644
--- a/cyberdrop_dl/crawlers/nsfw_xxx.py
+++ b/cyberdrop_dl/crawlers/nsfw_xxx.py
@@ -103,7 +103,7 @@ class NsfwXXXCrawler(Crawler):
data: dict[str, Any] = post["data"]
type_: str = content["type"]
- scrape_item.uploaded_at = date = self.parse_date(post["publishedAt"])
+ scrape_item.uploaded_at = date = self.parse_date(post["publishedAt"], "%B %Y")
title = self.create_separate_post_title(content["title"], str(content["id"]), date)
scrape_item.setup_as_album(self.create_title(title), album_id=str(content["id"]))