diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-04-14 20:27:46 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-04-14 20:27:46 +0200 |
commit | e212594553122502540c1596f3bbc6c86a25cfd1 (patch) | |
tree | 023a284cf19a81f58b8cd4163fe93b7beeac03e7 | |
parent | 0ec9030f7dafe8224625c1a2b67c34e8477a3111 (diff) |
Revert back to server1 for manganelo
-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: |