summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/WebshareCz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 10:29:55 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-13 10:29:55 +0200
commitd60040cdc406b0541f0b3f9681a09894f845ba2b (patch)
tree69be3f4730c9ef4cf9f98f5b9ae17157a88abc85 /pyload/plugin/hoster/WebshareCz.py
parentCleanup + fixup + new lib (diff)
downloadpyload-d60040cdc406b0541f0b3f9681a09894f845ba2b.tar.xz
Diffstat (limited to 'pyload/plugin/hoster/WebshareCz.py')
-rw-r--r--pyload/plugin/hoster/WebshareCz.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/pyload/plugin/hoster/WebshareCz.py b/pyload/plugin/hoster/WebshareCz.py
index baeecfc94..11b7b37b0 100644
--- a/pyload/plugin/hoster/WebshareCz.py
+++ b/pyload/plugin/hoster/WebshareCz.py
@@ -7,16 +7,16 @@ 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+)'
- __config__ = [("use_premium", "bool", "Use premium account if available", True)]
+ __pattern = r'https?://(?:www\.)?webshare\.cz/(?:#/)?file/(?P<ID>\w+)'
+ __config = [("use_premium", "bool", "Use premium account if available", True)]
- __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")]
@@ -25,7 +25,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']},