From e212594553122502540c1596f3bbc6c86a25cfd1 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 14 Apr 2021 20:27:46 +0200 Subject: Revert back to server1 for manganelo --- plugins/manganelo.py | 8 ++++---- 1 file 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: -- cgit v1.2.3