diff options
| author | 2025-03-10 03:45:04 -0400 | |
|---|---|---|
| committer | 2025-03-10 03:45:04 -0400 | |
| commit | b4181aecfa495a0926a9c065bf54897d64b14fbc (patch) | |
| tree | 1096876572bf7f51488a1a57cb9a5267e571947c /gallery_dl/extractor/furaffinity.py | |
| parent | 59733b48db6fe610ee4024ce1e93d10e76538087 (diff) | |
| parent | 243d1f1beb4e4eb75a524f1aff948c47761a4f1d (diff) | |
Update upstream source from tag 'upstream/1.29.1'
Update to upstream version '1.29.1'
with Debian dir 67c32bd8f39b0155ec16fb6af065feb7f1333f75
Diffstat (limited to 'gallery_dl/extractor/furaffinity.py')
| -rw-r--r-- | gallery_dl/extractor/furaffinity.py | 5 |
1 files changed, 3 insertions, 2 deletions
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">', '</section>')) data["title"] = text.unescape(extr("<h2><p>", "</p></h2>")) - data["artist"] = extr("<strong>", "<") + data["artist_url"] = extr('title="', '"').strip() + data["artist"] = extr(">", "<") data["_description"] = extr( 'class="submission-description user-submitted-links">', ' </div>') @@ -121,6 +122,7 @@ class FuraffinityExtractor(Extractor): else: # old site layout data["title"] = text.unescape(extr("<h2>", "</h2>")) + data["artist_url"] = extr('title="', '"').strip() data["artist"] = extr(">", "<") data["fa_category"] = extr("<b>Category:</b>", "<").strip() data["theme"] = extr("<b>Theme:</b>", "<").strip() @@ -139,7 +141,6 @@ class FuraffinityExtractor(Extractor): 'style="padding:8px">', ' </td>') 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"]) |
