summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-11-13 17:05:28 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-11-13 17:05:28 +0100
commitae55e11c1f0f5b1e9378b06cccc78f0e7bae5b97 (patch)
tree5e109cd77d8a351f97774f6d7f3938f3f48708b6 /module/plugins/hoster
parentfix Depositfiles, UlozTo (diff)
downloadpyload-ae55e11c1f0f5b1e9378b06cccc78f0e7bae5b97.tar.xz
rehost,to timeout fix
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/RehostTo.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/plugins/hoster/RehostTo.py b/module/plugins/hoster/RehostTo.py
index 2531d7dbe..370adf077 100644
--- a/module/plugins/hoster/RehostTo.py
+++ b/module/plugins/hoster/RehostTo.py
@@ -32,5 +32,7 @@ class RehostTo(Hoster):
self.log.debug("Rehost.to: Old URL: %s" % pyfile.url)
new_url = "http://rehost.to/process_download.php?user=cookie&pass=%s&dl=%s" % (long_ses, quote(pyfile.url, ""))
+ #raise timeout to 2min
+ self.req.setOption("timeout", 120)
self.download(new_url, disposition=True) \ No newline at end of file