summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/MultishareCz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-10 19:07:53 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-10 19:07:53 +0100
commit2439bc22671dde697817291b721bfddb792a93b4 (patch)
treedad4615b7f1d664263af6a85392282329aa0b8e0 /pyload/plugins/hoster/MultishareCz.py
parentRevert plugin directory structure (diff)
downloadpyload-2439bc22671dde697817291b721bfddb792a93b4.tar.xz
Fix plugins key attributes
Diffstat (limited to 'pyload/plugins/hoster/MultishareCz.py')
-rw-r--r--pyload/plugins/hoster/MultishareCz.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugins/hoster/MultishareCz.py b/pyload/plugins/hoster/MultishareCz.py
index 28a536089..0a3f78cea 100644
--- a/pyload/plugins/hoster/MultishareCz.py
+++ b/pyload/plugins/hoster/MultishareCz.py
@@ -8,15 +8,15 @@ from pyload.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class MultishareCz(SimpleHoster):
- __name__ = "MultishareCz"
- __type__ = "hoster"
- __version__ = "0.35"
+ __name = "MultishareCz"
+ __type = "hoster"
+ __version = "0.35"
- __pattern__ = r'http://(?:www\.)?multishare\.cz/stahnout/(?P<ID>\d+).*'
+ __pattern = r'http://(?:www\.)?multishare\.cz/stahnout/(?P<ID>\d+).*'
- __description__ = """MultiShare.cz hoster plugin"""
- __license__ = "GPLv3"
- __authors__ = [("zoidberg", "zoidberg@mujmail.cz")]
+ __description = """MultiShare.cz hoster plugin"""
+ __license = "GPLv3"
+ __authors = [("zoidberg", "zoidberg@mujmail.cz")]
SIZE_REPLACEMENTS = [('&nbsp;', '')]
@@ -28,7 +28,7 @@ class MultishareCz(SimpleHoster):
def process(self, pyfile):
- msurl = re.match(self.__pattern__, pyfile.url)
+ msurl = re.match(self.__pattern, pyfile.url)
if msurl:
self.fileID = msurl.group('ID')
self.html = self.load(pyfile.url, decode=True)