[3dbooru] enable download continuation

behoimi.org doesn't respect 'Range' headers and doesn't report
'Content-Length' for compressed content encodings.
This commit is contained in:
Mike Fährmann
2017-10-24 13:05:31 +02:00
parent b0353aa02d
commit 158e60ee89

View File

@@ -18,6 +18,7 @@ class ThreedeebooruExtractor(booru.JSONBooruExtractor):
headers = {
"Referer": "http://behoimi.org/post/show/",
"User-Agent": "Mozilla/5.0",
"Accept-Encoding": "identity",
}