1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 02:32:33 +01:00

[tumblrgallery] fix file downloads (#6391)

do not send "https://tumblrgallery.xyz/" Referer headers by default
This commit is contained in:
Mike Fährmann 2024-10-29 07:46:40 +01:00
parent 655e42dc92
commit 57e19a63a5
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -18,6 +18,7 @@ class TumblrgalleryExtractor(GalleryExtractor):
filename_fmt = "{category}_{gallery_id}_{num:>03}_{id}.{extension}"
directory_fmt = ("{category}", "{gallery_id} {title}")
root = "https://tumblrgallery.xyz"
referer = False
@staticmethod
def _urls_from_page(page):