diff options
-rwxr-xr-x | plugins/manganelo.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/manganelo.py b/plugins/manganelo.py index 50c71e5..1f0882c 100755 --- a/plugins/manganelo.py +++ b/plugins/manganelo.py @@ -41,10 +41,10 @@ def download_file(url, save_path): "referer": "https://manganelo.com/", "user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" } - cookies = { - "content_server": "server2" - } - with requests.get(url, stream=True, headers=headers, cookies=cookies) as response: + #cookies = { + # "content_server": "server2" + #} + with requests.get(url, stream=True, headers=headers) as response: if not response.ok: return 0 with open(save_path, "wb") as file: |