summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-04-30 21:04:05 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-04-30 21:04:05 +0200
commitd20d733cec7f8d45b4854cc14216d94f8915d8fc (patch)
treeb053c810c29b5f7f4fa697d4a6b27ec2f8ccc76a /module/plugins
parentSerienjunkiesOrg: version increased after cff3a4897e312a904a43ca0155dab922c67... (diff)
downloadpyload-d20d733cec7f8d45b4854cc14216d94f8915d8fc.tar.xz
UploadedTo: improvements to 3d1693ec11b02d5bdda1690927b2635f8b285c9b
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hoster/UploadedTo.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/module/plugins/hoster/UploadedTo.py b/module/plugins/hoster/UploadedTo.py
index b7740bb40..21a9812ab 100644
--- a/module/plugins/hoster/UploadedTo.py
+++ b/module/plugins/hoster/UploadedTo.py
@@ -5,6 +5,7 @@
# http://ul.to/gzfhd0xs
import re
+from time import sleep
from module.utils import html_unescape, parseFileSize
@@ -32,10 +33,12 @@ def getAPIData(urls):
post["id_%s" % i] = id
idMap[id] = url
- for i in xrange(3):
+ for i in xrange(5):
api = unicode(getURL("http://uploaded.net/api/filemultiple", post=post, decode=False), 'iso-8859-1')
if api != "can't find request":
break
+ else:
+ sleep(3)
result = {}
@@ -85,7 +88,7 @@ class UploadedTo(Hoster):
__name__ = "UploadedTo"
__type__ = "hoster"
__pattern__ = r"https?://[\w\.-]*?(uploaded\.(to|net)|ul\.to)(/file/|/?\?id=|.*?&id=|/)(?P<ID>\w+)"
- __version__ = "0.69"
+ __version__ = "0.70"
__description__ = """Uploaded.net Download Hoster"""
__author_name__ = ("spoob", "mkaay", "zoidberg", "netpok", "stickell")
__author_mail__ = ("spoob@pyload.org", "mkaay@mkaay.de", "zoidberg@mujmail.cz", "netpok@gmail.com", "l.stickell@yahoo.it")