summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/gelbooru.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-04-15 05:25:37 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2025-04-15 05:25:37 -0400
commitb830dc03b3b7c9dd119648e1be9c1145d56e096c (patch)
treee9d03b6b4ab93990243c0038c20ada2464fa4072 /gallery_dl/extractor/gelbooru.py
parent662e5ac868a5c1a3e7bc95b37054b3a0ca4db74f (diff)
New upstream version 1.29.4.upstream/1.29.4
Diffstat (limited to 'gallery_dl/extractor/gelbooru.py')
-rw-r--r--gallery_dl/extractor/gelbooru.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gallery_dl/extractor/gelbooru.py b/gallery_dl/extractor/gelbooru.py
index 37c776e..eb07739 100644
--- a/gallery_dl/extractor/gelbooru.py
+++ b/gallery_dl/extractor/gelbooru.py
@@ -114,11 +114,12 @@ class GelbooruBase():
md5 = post["md5"]
path = "/images/{}/{}/{}.webm".format(md5[0:2], md5[2:4], md5)
post["_fallback"] = GelbooruBase._video_fallback(path)
- url = "https://img3.gelbooru.com" + path
+ url = "https://img4.gelbooru.com" + path
return url
@staticmethod
def _video_fallback(path):
+ yield "https://img3.gelbooru.com" + path
yield "https://img2.gelbooru.com" + path
yield "https://img1.gelbooru.com" + path