diff options
Diffstat (limited to 'pyload/plugin/hoster/MultishareCz.py')
-rw-r--r-- | pyload/plugin/hoster/MultishareCz.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/hoster/MultishareCz.py b/pyload/plugin/hoster/MultishareCz.py index a66043fc0..817f457bf 100644 --- a/pyload/plugin/hoster/MultishareCz.py +++ b/pyload/plugin/hoster/MultishareCz.py @@ -8,15 +8,15 @@ from pyload.plugin.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 = [(' ', '')] @@ -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) |