1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2025-01-31 11:41:35 +01:00

[4chanarchives] disable Referer headers by default (#4686)

This commit is contained in:
Mike Fährmann 2023-10-20 17:39:50 +02:00
parent 78493f0870
commit b8674776e9
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -20,6 +20,7 @@ class _4chanarchivesThreadExtractor(Extractor):
directory_fmt = ("{category}", "{board}", "{thread} - {title}")
filename_fmt = "{no}-{filename}.{extension}"
archive_fmt = "{board}_{thread}_{no}"
referer = False
pattern = r"(?:https?://)?4chanarchives\.com/board/([^/?#]+)/thread/(\d+)"
example = "https://4chanarchives.com/board/a/thread/12345/"