From 79cbeb40d503932bae76f08075b4847d4f42e691 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 2 Jan 2016 15:32:23 +0100 Subject: Timeout for http request set to 1 minute + report effective url address in header --- module/plugins/internal/Base.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'module/plugins/internal/Base.py') diff --git a/module/plugins/internal/Base.py b/module/plugins/internal/Base.py index 104b67edc..5f766c88f 100644 --- a/module/plugins/internal/Base.py +++ b/module/plugins/internal/Base.py @@ -160,6 +160,8 @@ class Base(Plugin): self.req = self.pyload.requestFactory.getRequest(self.classname) self.premium = False + self.req.setOption("timeout", 60) #@TODO: Remove in 0.4.10 + self.setup_base() self.grab_info() self.setup() -- cgit v1.2.3