diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-02-16 22:38:45 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-02-16 22:38:45 +0100 |
commit | 270c1ee85edcd1e9e10511833b422d93dfca192a (patch) | |
tree | eb846081ba3ec09721879ee237016b26d19c3c2f /pyload/plugin/hoster/WebshareCz.py | |
parent | Fix plugins to work on 0.4.10 (diff) | |
download | pyload-270c1ee85edcd1e9e10511833b422d93dfca192a.tar.xz |
Diffstat (limited to 'pyload/plugin/hoster/WebshareCz.py')
-rw-r--r-- | pyload/plugin/hoster/WebshareCz.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/hoster/WebshareCz.py b/pyload/plugin/hoster/WebshareCz.py index 58c9c6a44..fe5ef7c9e 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<ID>\w+)' + __pattern = r'https?://(?:www\.)?webshare\.cz/(?:#/)?file/(?P<ID>\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']}, |