summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Jens Hörnlein <jens.hoernlein@googlemail.com> 2015-02-01 15:34:26 +0100
committerGravatar Jens Hörnlein <jens.hoernlein@googlemail.com> 2015-02-01 15:34:26 +0100
commit8ae95c4b389c916b8f3b961be1a4eb145f0b2381 (patch)
tree18faad1824b0e2b45d820f83ae78f5b3472bfd6f /module
parentMerge pull request #1121 from immenz/JustPremDev (diff)
downloadpyload-8ae95c4b389c916b8f3b961be1a4eb145f0b2381.tar.xz
Fixed UploadedTo File not downloadable for free users
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hoster/UploadedTo.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/hoster/UploadedTo.py b/module/plugins/hoster/UploadedTo.py
index 150b69534..4fb39ff0e 100644
--- a/module/plugins/hoster/UploadedTo.py
+++ b/module/plugins/hoster/UploadedTo.py
@@ -16,7 +16,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class UploadedTo(SimpleHoster):
__name__ = "UploadedTo"
__type__ = "hoster"
- __version__ = "0.79"
+ __version__ = "0.80"
__pattern__ = r'https?://(?:www\.)?(uploaded\.(to|net)|ul\.to)(/file/|/?\?id=|.*?&id=|/)(?P<ID>\w+)'
@@ -77,7 +77,8 @@ class UploadedTo(SimpleHoster):
if m:
self.wait(m.group(1))
else:
- self.fail(_("File not downloadable for free users"))
+ if not "type:'download'" in self.html:
+ self.fail(_("File not downloadable for free users"))
if "limit-size" in self.html:
self.fail(_("File too big for free download"))