[3dbooru] enable download continuation

behoimi.org doesn't respect 'Range' headers and doesn't report
'Content-Length' for compressed content encodings.
pull/54/head
Mike Fährmann 7 years ago
parent b0353aa02d
commit 158e60ee89
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

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

Loading…
Cancel
Save