From 17b940a271318cd94107f77cc8f1181eae63280b Mon Sep 17 00:00:00 2001 From: Ruud Date: Tue, 23 Sep 2014 00:38:44 +0200 Subject: [PATCH] Allow 5 redirects --- couchpotato/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/runner.py b/couchpotato/runner.py index 8718355e..36fc366f 100644 --- a/couchpotato/runner.py +++ b/couchpotato/runner.py @@ -152,7 +152,7 @@ def runCouchPotato(options, base_path, args, data_dir = None, log_dir = None, En os.mkdir(python_cache) session = requests.Session() - session.max_redirects = 1 + session.max_redirects = 5 # Register environment settings Env.set('app_dir', sp(base_path))