diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2016-01-02 15:32:23 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2016-01-02 15:32:23 +0100 |
commit | 79cbeb40d503932bae76f08075b4847d4f42e691 (patch) | |
tree | 7fb05b6583e5081716a87e69bf0a14af18f6c66c /module/plugins/internal/Base.py | |
parent | [XFileSharing] Fix setup_base (diff) | |
download | pyload-79cbeb40d503932bae76f08075b4847d4f42e691.tar.xz |
Timeout for http request set to 1 minute + report effective url address in header
Diffstat (limited to 'module/plugins/internal/Base.py')
-rw-r--r-- | module/plugins/internal/Base.py | 2 |
1 files changed, 2 insertions, 0 deletions
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() |