summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/weasyl.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-04-27 20:34:08 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2025-04-27 20:34:08 -0400
commit4a18b5837c1dd82f5964afcfc3fecc53cd97e79c (patch)
tree44019190a44fd449daa0efd07c65bbe524688c33 /gallery_dl/extractor/weasyl.py
parentb830dc03b3b7c9dd119648e1be9c1145d56e096c (diff)
New upstream version 1.29.5.upstream/1.29.5
Diffstat (limited to 'gallery_dl/extractor/weasyl.py')
-rw-r--r--gallery_dl/extractor/weasyl.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gallery_dl/extractor/weasyl.py b/gallery_dl/extractor/weasyl.py
index 13b0520..ed2a395 100644
--- a/gallery_dl/extractor/weasyl.py
+++ b/gallery_dl/extractor/weasyl.py
@@ -7,7 +7,7 @@
"""Extractors for https://www.weasyl.com/"""
from .common import Extractor, Message
-from .. import text
+from .. import text, util
BASE_PATTERN = r"(?:https://)?(?:www\.)?weasyl.com/"
@@ -18,6 +18,7 @@ class WeasylExtractor(Extractor):
filename_fmt = "{submitid} {title}.{extension}"
archive_fmt = "{submitid}"
root = "https://www.weasyl.com"
+ useragent = util.USERAGENT
@staticmethod
def populate_submission(data):