diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-03 16:57:55 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-03 16:57:55 +0100 |
commit | 03f3b86f500c495932fd118b54569d92f700847c (patch) | |
tree | ad3632f59e0889c7485f2261113aef3da983b4dc /module/plugins/hoster/ZippyshareCom.py | |
parent | [SimpleHoster] Fix file_info stuff (diff) | |
download | pyload-03f3b86f500c495932fd118b54569d92f700847c.tar.xz |
Code cosmetics about file_info and other stuff
Diffstat (limited to 'module/plugins/hoster/ZippyshareCom.py')
-rw-r--r-- | module/plugins/hoster/ZippyshareCom.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/ZippyshareCom.py b/module/plugins/hoster/ZippyshareCom.py index f34c23c3b..3b5e6df33 100644 --- a/module/plugins/hoster/ZippyshareCom.py +++ b/module/plugins/hoster/ZippyshareCom.py @@ -11,7 +11,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class ZippyshareCom(SimpleHoster): __name__ = "ZippyshareCom" __type__ = "hoster" - __version__ = "0.55" + __version__ = "0.56" __pattern__ = r'(?P<HOST>http://www\d{0,2}\.zippyshare\.com)/v(?:/|iew\.jsp.*key=)(?P<KEY>\d+)' @@ -49,8 +49,8 @@ class ZippyshareCom(SimpleHoster): def get_link(self): checksum = self.get_checksum() - p_url = path.join("d", self.file_info['KEY'], str(checksum), self.pyfile.name) - dl_link = urljoin(self.file_info['HOST'], p_url) + p_url = path.join("d", self.info['KEY'], str(checksum), self.pyfile.name) + dl_link = urljoin(self.info['HOST'], p_url) return dl_link |