diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-30 19:06:35 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-30 19:06:35 +0200 |
commit | 8a100ee47aed13d251c895288a3a3a73586b1a0d (patch) | |
tree | c05da5095bb57c5f3aa1b3acfd8d057ebbcfd8af | |
parent | Merge pull request #1375 from GammaC0de/GammaC0de-patch-1 (diff) | |
parent | Update UploadedTo.py (diff) | |
download | pyload-8a100ee47aed13d251c895288a3a3a73586b1a0d.tar.xz |
Merge pull request #1385 from GammaC0de/GammaC0de-UploadedTo-Detect-Maintenance
[UploadedTo] detect maintenance
-rw-r--r-- | module/plugins/hoster/UploadedTo.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/hoster/UploadedTo.py b/module/plugins/hoster/UploadedTo.py index 67f82d1f7..8a426d28d 100644 --- a/module/plugins/hoster/UploadedTo.py +++ b/module/plugins/hoster/UploadedTo.py @@ -11,7 +11,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class UploadedTo(SimpleHoster): __name__ = "UploadedTo" __type__ = "hoster" - __version__ = "0.86" + __version__ = "0.87" __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)] @@ -27,6 +27,8 @@ class UploadedTo(SimpleHoster): URL_REPLACEMENTS = [(__pattern__ + ".*", r'http://uploaded.net/file/\g<ID>')] + TEMP_OFFLINE_PATTERN = r'<title>uploaded\.net - Maintenance - Wartungsarbeiten</title>' + LINK_PREMIUM_PATTERN = r'<div class="tfree".*\s*<form method="post" action="(.+?)"' WAIT_PATTERN = r'Current waiting period: <span>(\d+)' |