[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:
@@ -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",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user