summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-17 21:01:31 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-17 21:01:31 +0200
commit9fa442e62e9ebcdda2cd804202cc1e495c47e3ad (patch)
treeca50044b74c011565e0f4cb5fc1ee5641ce8593e
parentSpare code cosmetics (diff)
downloadpyload-9fa442e62e9ebcdda2cd804202cc1e495c47e3ad.tar.xz
[UploadedTo] Improved error handling (thx NETHeader)
-rw-r--r--module/plugins/hoster/UploadedTo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/UploadedTo.py b/module/plugins/hoster/UploadedTo.py
index 0affffbb9..73a903902 100644
--- a/module/plugins/hoster/UploadedTo.py
+++ b/module/plugins/hoster/UploadedTo.py
@@ -94,7 +94,7 @@ def getInfo(urls):
class UploadedTo(Hoster):
__name__ = "UploadedTo"
__type__ = "hoster"
- __version__ = "0.73"
+ __version__ = "0.74"
__pattern__ = r'https?://(?:www\.)?(uploaded\.(to|net)|ul\.to)(/file/|/?\?id=|.*?&id=|/)(?P<ID>\w+)'
@@ -219,7 +219,7 @@ class UploadedTo(Hoster):
self.retry()
elif "limit-parallel" in result:
self.fail("Cannot download in parallel")
- elif self.DL_LIMIT_PATTERN in result: # limit-dl
+ elif "limit-dl" in result or self.DL_LIMIT_PATTERN in result: # limit-dl
self.setWait(3 * 60 * 60, True)
self.wait()
self.retry()