summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-08 13:17:38 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-08 13:17:38 +0100
commit199d0cdc681675d5e20b2167424becaef8391391 (patch)
treeb85289a0d23a2cc7f8c0b89cd5f14c4913bfc41d /module/plugins/hoster
parent[ZippyshareCom] Update get_checksum (diff)
downloadpyload-199d0cdc681675d5e20b2167424becaef8391391.tar.xz
[ZippyshareCom] Fix typo
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/ZippyshareCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/ZippyshareCom.py b/module/plugins/hoster/ZippyshareCom.py
index 0e19c36ac..bf380de77 100644
--- a/module/plugins/hoster/ZippyshareCom.py
+++ b/module/plugins/hoster/ZippyshareCom.py
@@ -12,7 +12,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class ZippyshareCom(SimpleHoster):
__name__ = "ZippyshareCom"
__type__ = "hoster"
- __version__ = "0.58"
+ __version__ = "0.59"
__pattern__ = r'(?P<HOST>http://www\d{0,2}\.zippyshare\.com)/v(?:/|iew\.jsp.*key=)(?P<KEY>\d+)'
@@ -48,8 +48,8 @@ class ZippyshareCom(SimpleHoster):
def get_checksum(self):
try:
- a1, a2 = map(int, re.search(r'\(\'downloadB\'\).omg = (\d+)%(\d+)', self.html).groups)
- c1, c2 = map(int, re.search(r'\(\'downloadB\'\).omg\) \* \((\d+)%(\d+)', self.html).groups)
+ a1, a2 = map(int, re.search(r'\(\'downloadB\'\).omg = (\d+)%(\d+)', self.html).groups())
+ c1, c2 = map(int, re.search(r'\(\'downloadB\'\).omg\) \* \((\d+)%(\d+)', self.html).groups())
b = (a1 % a2) * (c1 % c2)
except:
self.error(_("Unable to calculate checksum"))