diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-23 16:16:17 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-23 16:16:17 +0100 |
commit | eb88db6621b8f50256d00f5cd9da8d28d2d58b9b (patch) | |
tree | 1710810907b58bde7f02bc21fa98462ce72a09d6 /module | |
parent | [XFSAccount] Fix validuntil computation (diff) | |
download | pyload-eb88db6621b8f50256d00f5cd9da8d28d2d58b9b.tar.xz |
[UpleaCom] Fix typo
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/hoster/UpleaCom.py | 10 |
1 files 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<a href="(/step/.+)">' + STEP_PATTERN = r'<a href="(/step/.+)">' 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: |