From eb88db6621b8f50256d00f5cd9da8d28d2d58b9b Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 23 Nov 2014 16:16:17 +0100 Subject: [UpleaCom] Fix typo --- module/plugins/hoster/UpleaCom.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/module/plugins/hoster/UpleaCom.py b/module/plugins/hoster/UpleaCom.py index 409d7b4ca..7e4b3b0b1 100644 --- a/module/plugins/hoster/UpleaCom.py +++ b/module/plugins/hoster/UpleaCom.py @@ -10,7 +10,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo class UpleaCom(XFSHoster): __name__ = "UpleaCom" __type__ = "hoster" - __version__ = "0.04" + __version__ = "0.05" __pattern__ = r'https?://(?:www\.)?uplea\.com/dl/\w{15}' @@ -28,7 +28,7 @@ class UpleaCom(XFSHoster): LINK_PATTERN = r'"(http?://\w+\.uplea\.com/anonym/.*?)"' WAIT_PATTERN = r'timeText:([\d.]+),' - VARS_PATTERN = r'class="cel_tbl_step1_foot">\s' + STEP_PATTERN = r'' def setup(self): @@ -38,11 +38,11 @@ class UpleaCom(XFSHoster): def handleFree(self): - m = re.search(self.VARS_PATTERN, self.html) + m = re.search(self.STEP_PATTERN, self.html) if m is None: - self.error("VARS_PATTERN not found") + self.error("STEP_PATTERN not found") - self.html = self.load(urljoin("http://uplea.com/", m.groups(1))) + self.html = self.load(urljoin("http://uplea.com/", m.group(1))) m = re.search(self.WAIT_PATTERN, self.html) if m: -- cgit v1.2.3