summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/WebshareCz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-16 22:38:45 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-16 22:38:45 +0100
commit270c1ee85edcd1e9e10511833b422d93dfca192a (patch)
treeeb846081ba3ec09721879ee237016b26d19c3c2f /pyload/plugin/hoster/WebshareCz.py
parentFix plugins to work on 0.4.10 (diff)
downloadpyload-270c1ee85edcd1e9e10511833b422d93dfca192a.tar.xz
Diffstat (limited to 'pyload/plugin/hoster/WebshareCz.py')
-rw-r--r--pyload/plugin/hoster/WebshareCz.py16
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']},