From 876169ded5ff6e9043335822b285e5b7e7191281 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Tue, 25 Feb 2025 16:45:55 +0100 Subject: [PATCH] [furaffinity] use a 1s delay between requests by default (#7054) --- docs/configuration.rst | 2 ++ docs/gallery-dl.conf | 3 ++- gallery_dl/extractor/furaffinity.py | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/configuration.rst b/docs/configuration.rst index ca9bc615..b26a8241 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -403,6 +403,8 @@ Default ``weebcentral``, ``xfolio``, ``zerochan`` + * ``"1.0"`` + ``furaffinity`` * ``"1.0-2.0"`` ``flickr``, ``pexels``, diff --git a/docs/gallery-dl.conf b/docs/gallery-dl.conf index fbbab753..3598ab9f 100644 --- a/docs/gallery-dl.conf +++ b/docs/gallery-dl.conf @@ -264,7 +264,8 @@ }, "furaffinity": { - "cookies" : null, + "cookies" : null, + "sleep-request": "1.0", "descriptions": "text", "external" : false, diff --git a/gallery_dl/extractor/furaffinity.py b/gallery_dl/extractor/furaffinity.py index d2535829..14663907 100644 --- a/gallery_dl/extractor/furaffinity.py +++ b/gallery_dl/extractor/furaffinity.py @@ -23,6 +23,7 @@ class FuraffinityExtractor(Extractor): cookies_domain = ".furaffinity.net" cookies_names = ("a", "b") root = "https://www.furaffinity.net" + request_interval = 1.0 _warning = True def __init__(self, match):