From ef30b1fa552fd4ceebdd14bbcc16f30f430883f8 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Mon, 3 Jul 2023 00:57:03 -0400 Subject: New upstream version 1.25.7. --- gallery_dl/extractor/furaffinity.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'gallery_dl/extractor/furaffinity.py') diff --git a/gallery_dl/extractor/furaffinity.py b/gallery_dl/extractor/furaffinity.py index 9f5cbba..ec9cd94 100644 --- a/gallery_dl/extractor/furaffinity.py +++ b/gallery_dl/extractor/furaffinity.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2020-2022 Mike Fährmann +# Copyright 2020-2023 Mike Fährmann # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as @@ -98,7 +98,9 @@ class FuraffinityExtractor(Extractor): 'class="tags-row">', '')) data["title"] = text.unescape(extr("

", "

")) data["artist"] = extr("", "<") - data["_description"] = extr('class="section-body">', '') + data["_description"] = extr( + 'class="submission-description user-submitted-links">', + ' ') data["views"] = pi(rh(extr('class="views">', ''))) data["favorites"] = pi(rh(extr('class="favorites">', ''))) data["comments"] = pi(rh(extr('class="comments">', ''))) @@ -125,7 +127,9 @@ class FuraffinityExtractor(Extractor): data["tags"] = text.split_html(extr( 'id="keywords">', ''))[::2] data["rating"] = extr('', ' ')
-            data[", "") + data["_description"] = extr( + '', ' ') data["artist_url"] = data["artist"].replace("_", "").lower() data["user"] = self.user or data["artist_url"] -- cgit v1.2.3