summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/ZippyshareCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-28 22:06:31 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-28 22:06:31 +0200
commit5745baca2dd9c8831631489781ef950af5184081 (patch)
treee6c0f5705f83ef389907d151d0390e8f0af2ed68 /module/plugins/hoster/ZippyshareCom.py
parentFix https://github.com/pyload/pyload/issues/1582 (diff)
downloadpyload-5745baca2dd9c8831631489781ef950af5184081.tar.xz
Fix https://github.com/pyload/pyload/issues/1520
Diffstat (limited to 'module/plugins/hoster/ZippyshareCom.py')
-rw-r--r--module/plugins/hoster/ZippyshareCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/ZippyshareCom.py b/module/plugins/hoster/ZippyshareCom.py
index c9f9c8ce7..90f88bb02 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.80"
+ __version__ = "0.81"
__status__ = "testing"
__pattern__ = r'http://www\d{0,2}\.zippyshare\.com/v(/|iew\.jsp.*key=)(?P<KEY>[\w^_]+)'
@@ -88,7 +88,7 @@ class ZippyshareCom(SimpleHoster):
scripts = ['\n'.join(('try{', script, '} catch(err){}')) for script in scripts]
#: Get the file's url by evaluating all the scripts
- scripts = ['var GVAR = {}'] + list(initScripts) + scripts + ['GVAR['dlbutton_href']']
+ scripts = ["var GVAR = {}"] + list(initScripts) + scripts + ['GVAR["dlbutton_href"]']
return self.js.eval('\n'.join(scripts))