summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/UptoboxCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-10 03:02:26 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-10 03:02:26 +0200
commit04038a2cf0c4c2d9cc9a0c8e8bf9beb6426afae8 (patch)
tree703010e32f62bf869551ce0d323dacf62bc448ff /module/plugins/hoster/UptoboxCom.py
parent[SimpleCrypter] Support parseError (diff)
downloadpyload-04038a2cf0c4c2d9cc9a0c8e8bf9beb6426afae8.tar.xz
Use parseError instead PluginParseError + unified all download pattern attributes as LINK_PATTERN + removed some old patterns (not used anymore) + other code cosmetics
Diffstat (limited to 'module/plugins/hoster/UptoboxCom.py')
-rw-r--r--module/plugins/hoster/UptoboxCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/UptoboxCom.py b/module/plugins/hoster/UptoboxCom.py
index f086a9bc0..802b84bbf 100644
--- a/module/plugins/hoster/UptoboxCom.py
+++ b/module/plugins/hoster/UptoboxCom.py
@@ -41,7 +41,7 @@ class UptoboxCom(XFileSharingPro):
WAIT_PATTERN = r'>(\d+)</span> seconds<'
- DIRECT_LINK_PATTERN = r'"(https?://\w+\.uptobox\.com/d/.*?)"'
+ LINK_PATTERN = r'"(https?://\w+\.uptobox\.com/d/.*?)"'
def handleCaptcha(self, inputs):
found = re.search(self.SOLVEMEDIA_PATTERN, self.html)