summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/UpleaCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/UpleaCom.py')
-rw-r--r--module/plugins/hoster/UpleaCom.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/hoster/UpleaCom.py b/module/plugins/hoster/UpleaCom.py
index 5ca9f2e40..4b253d2ce 100644
--- a/module/plugins/hoster/UpleaCom.py
+++ b/module/plugins/hoster/UpleaCom.py
@@ -2,13 +2,13 @@
import re
-from module.plugins.internal.XFSPHoster import XFSPHoster, create_getInfo
+from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo
-class UpleaCom(XFSPHoster):
+class UpleaCom(XFSHoster):
__name__ = "UpleaCom"
__type__ = "hoster"
- __version__ = "0.02"
+ __version__ = "0.03"
__pattern__ = r'https?://(?:www\.)?uplea\.com/dl/\w{15}'
@@ -17,9 +17,9 @@ class UpleaCom(XFSPHoster):
__authors__ = [("Redleon", None)]
- HOSTER_NAME = "uplea.com"
+ HOSTER_DOMAIN = "uplea.com"
- FILE_INFO_PATTERN = r'class="l download-filename">\s<span.*?>(?P<N>.+)</span>\s<span.*?>(?P<S>[\d.]+) (?P<U>[\w]).*?</span>'
+ INFO_PATTERN = r'class="l download-filename">\s<span.*?>(?P<N>.+)</span>\s<span.*?>(?P<S>[\d.]+) (?P<U>[\w]).*?</span>'
OFFLINE_PATTERN = r'You followed an invalid or expired link'
LINK_PATTERN = r'"(http?://\w+\.uplea\.com/anonym/.*?)"'