summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/SizedriveCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-04 21:30:39 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-04 21:30:39 +0200
commit55717d96c0ef590f9c224741415447b8adb12f95 (patch)
tree1fa1184732ebaa799a04305a54a0ca3bb9f1a722 /module/plugins/hoster/SizedriveCom.py
parentMerge pull request #1388 from GammaC0de/GammaC0de-report-no-send2trash (diff)
downloadpyload-55717d96c0ef590f9c224741415447b8adb12f95.tar.xz
[SizedriveCom] Cleanup
Diffstat (limited to 'module/plugins/hoster/SizedriveCom.py')
-rw-r--r--module/plugins/hoster/SizedriveCom.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/module/plugins/hoster/SizedriveCom.py b/module/plugins/hoster/SizedriveCom.py
index 13a29eb99..3b9748fb6 100644
--- a/module/plugins/hoster/SizedriveCom.py
+++ b/module/plugins/hoster/SizedriveCom.py
@@ -17,9 +17,10 @@ class SizedriveCom(SimpleHoster):
__authors__ = [("GammaC0de", None)]
+ NAME_PATTERN = r'>Nome:</b> (?P<N>.+?)<'
+ SIZE_PATTERN = r'>Tamanho:</b>(?P<S>[\d.,]+) (?P<U>[\w^_]+)'
OFFLINE_PATTERN = r'ARQUIVO DELATADO POR'
- NAME_PATTERN = r'<b>Nome:</b> (?P<N>.+)<'
- SIZE_PATTERN = r'<b>Tamanho:</b>(?P<S>[\d.,]+) (?P<U>[\w^_]+)'
+
def setup(self):
self.resumeDownload = False
@@ -35,8 +36,6 @@ class SizedriveCom(SimpleHoster):
m = re.search(r'<span id="boton_download" ><a href="(.+?)"', self.html)
if m:
self.link = m.group(1)
- else:
- self.error(_("Download link not found"))
getInfo = create_getInfo(SizedriveCom)