From ce103ce1e60661f7bcdf6a033335134de61d48b1 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Thu, 26 Mar 2015 12:44:15 +0100 Subject: Prepare to merging --- pyload/plugin/hoster/WebshareCz.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'pyload/plugin/hoster/WebshareCz.py') diff --git a/pyload/plugin/hoster/WebshareCz.py b/pyload/plugin/hoster/WebshareCz.py index fe5ef7c9e..58c9c6a44 100644 --- a/pyload/plugin/hoster/WebshareCz.py +++ b/pyload/plugin/hoster/WebshareCz.py @@ -7,15 +7,15 @@ from pyload.plugin.internal.SimpleHoster import SimpleHoster class WebshareCz(SimpleHoster): - __name = "WebshareCz" - __type = "hoster" - __version = "0.16" + __name__ = "WebshareCz" + __type__ = "hoster" + __version__ = "0.16" - __pattern = r'https?://(?:www\.)?webshare\.cz/(?:#/)?file/(?P\w+)' + __pattern__ = r'https?://(?:www\.)?webshare\.cz/(?:#/)?file/(?P\w+)' - __description = """WebShare.cz hoster plugin""" - __license = "GPLv3" - __authors = [("stickell", "l.stickell@yahoo.it"), + __description__ = """WebShare.cz hoster plugin""" + __license__ = "GPLv3" + __authors__ = [("stickell", "l.stickell@yahoo.it"), ("rush", "radek.senfeld@gmail.com")] @@ -24,7 +24,7 @@ class WebshareCz(SimpleHoster): info = super(WebshareCz, cls).getInfo(url, html) if url: - info['pattern'] = re.match(cls.__pattern, url).groupdict() + info['pattern'] = re.match(cls.__pattern__, url).groupdict() api_data = getURL("https://webshare.cz/api/file_info/", post={'ident': info['pattern']['ID']}, -- cgit v1.2.3