From 243d1f1beb4e4eb75a524f1aff948c47761a4f1d Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Mon, 10 Mar 2025 03:44:57 -0400 Subject: New upstream version 1.29.1. --- gallery_dl/extractor/furaffinity.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gallery_dl/extractor/furaffinity.py') diff --git a/gallery_dl/extractor/furaffinity.py b/gallery_dl/extractor/furaffinity.py index 1466390..216aeb1 100644 --- a/gallery_dl/extractor/furaffinity.py +++ b/gallery_dl/extractor/furaffinity.py @@ -98,7 +98,8 @@ class FuraffinityExtractor(Extractor): data["tags"] = text.split_html(extr( 'class="tags-row">', '')) data["title"] = text.unescape(extr("

", "

")) - data["artist"] = extr("", "<") + data["artist_url"] = extr('title="', '"').strip() + data["artist"] = extr(">", "<") data["_description"] = extr( 'class="submission-description user-submitted-links">', ' ') @@ -121,6 +122,7 @@ class FuraffinityExtractor(Extractor): else: # old site layout data["title"] = text.unescape(extr("

", "

")) + data["artist_url"] = extr('title="', '"').strip() data["artist"] = extr(">", "<") data["fa_category"] = extr("Category:", "<").strip() data["theme"] = extr("Theme:", "<").strip() @@ -139,7 +141,6 @@ class FuraffinityExtractor(Extractor): 'style="padding:8px">', ' ') data["folders"] = () # folders not present in old layout - data["artist_url"] = data["artist"].replace("_", "").lower() data["user"] = self.user or data["artist_url"] data["date"] = text.parse_timestamp(data["filename"].partition(".")[0]) data["description"] = self._process_description(data["_description"]) -- cgit v1.2.3