summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/furaffinity.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2023-07-03 00:57:03 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2023-07-03 00:57:03 -0400
commitef30b1fa552fd4ceebdd14bbcc16f30f430883f8 (patch)
treecf680fbc0801f3090b28c190b7dd4a9d0fe1f454 /gallery_dl/extractor/furaffinity.py
parent9fb906aeb3816abb42f459d1b67e35024e6f2348 (diff)
New upstream version 1.25.7.upstream/1.25.7
Diffstat (limited to 'gallery_dl/extractor/furaffinity.py')
-rw-r--r--gallery_dl/extractor/furaffinity.py10
1 files changed, 7 insertions, 3 deletions
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">', '</section>'))
data["title"] = text.unescape(extr("<h2><p>", "</p></h2>"))
data["artist"] = extr("<strong>", "<")
- data["_description"] = extr('class="section-body">', '</div>')
+ data["_description"] = extr(
+ 'class="submission-description user-submitted-links">',
+ ' </div>')
data["views"] = pi(rh(extr('class="views">', '</span>')))
data["favorites"] = pi(rh(extr('class="favorites">', '</span>')))
data["comments"] = pi(rh(extr('class="comments">', '</span>')))
@@ -125,7 +127,9 @@ class FuraffinityExtractor(Extractor):
data["tags"] = text.split_html(extr(
'id="keywords">', '</div>'))[::2]
data["rating"] = extr('<img alt="', ' ')
- data["_description"] = extr("</table>", "</table>")
+ data["_description"] = extr(
+ '<td valign="top" align="left" width="70%" class="alt1" '
+ 'style="padding:8px">', ' </td>')
data["artist_url"] = data["artist"].replace("_", "").lower()
data["user"] = self.user or data["artist_url"]