summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-09 13:58:27 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-09 13:58:27 +0200
commitd2e46f208737760c65a58bfc21ad8fd0809c0b18 (patch)
tree2e3881dabd0ac0026173c0431af2dfea2d1b6405 /module/plugins/hoster
parentFix https://github.com/pyload/pyload/issues/1471 (diff)
downloadpyload-d2e46f208737760c65a58bfc21ad8fd0809c0b18.tar.xz
Fix https://github.com/pyload/pyload/issues/1472
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/UploadedTo.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/hoster/UploadedTo.py b/module/plugins/hoster/UploadedTo.py
index 9c13b86dc..187653c2d 100644
--- a/module/plugins/hoster/UploadedTo.py
+++ b/module/plugins/hoster/UploadedTo.py
@@ -12,7 +12,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class UploadedTo(SimpleHoster):
__name__ = "UploadedTo"
__type__ = "hoster"
- __version__ = "0.93"
+ __version__ = "0.94"
__pattern__ = r'https?://(?:www\.)?(uploaded\.(to|net)|ul\.to)(/file/|/?\?id=|.*?&id=|/)(?P<ID>\w+)'
__config__ = [("use_premium", "bool", "Use premium account if available", True)]
@@ -29,7 +29,9 @@ class UploadedTo(SimpleHoster):
API_KEY = "lhF2IeeprweDfu9ccWlxXVVypA5nA3EL"
+ OFFLINE_PATTERN = r'>Page not found'
TEMP_OFFLINE_PATTERN = r'<title>uploaded\.net - Maintenance'
+
LINK_PREMIUM_PATTERN = r'<div class="tfree".*\s*<form method="post" action="(.+?)"'
WAIT_PATTERN = r'Current waiting period: <span>(\d+)'