diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-13 08:21:50 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-13 08:21:50 +0200 |
commit | 486adc1874e463b1563ad2394b216faff388b10d (patch) | |
tree | 58009056cb67e35930d49a9dd6af45adf6a8d434 /pyload/plugin/hoster/MegacrypterCom.py | |
parent | Fix https://github.com/pyload/pyload/issues/1349 (diff) | |
download | pyload-486adc1874e463b1563ad2394b216faff388b10d.tar.xz |
Prepare plugins to merging from stable
Diffstat (limited to 'pyload/plugin/hoster/MegacrypterCom.py')
-rw-r--r-- | pyload/plugin/hoster/MegacrypterCom.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/hoster/MegacrypterCom.py b/pyload/plugin/hoster/MegacrypterCom.py index 264ad958d..f8fcb97fe 100644 --- a/pyload/plugin/hoster/MegacrypterCom.py +++ b/pyload/plugin/hoster/MegacrypterCom.py @@ -8,15 +8,15 @@ from pyload.plugin.hoster.MegaCoNz import MegaCoNz class MegacrypterCom(MegaCoNz): - __name = "MegacrypterCom" - __type = "hoster" - __version = "0.22" + __name__ = "MegacrypterCom" + __type__ = "hoster" + __version__ = "0.22" - __pattern = r'https?://\w{0,10}\.?megacrypter\.com/[\w!-]+' + __pattern__ = r'https?://\w{0,10}\.?megacrypter\.com/[\w!-]+' - __description = """Megacrypter.com decrypter plugin""" - __license = "GPLv3" - __authors = [("GonzaloSR", "gonzalo@gonzalosr.com")] + __description__ = """Megacrypter.com decrypter plugin""" + __license__ = "GPLv3" + __authors__ = [("GonzaloSR", "gonzalo@gonzalosr.com")] API_URL = "http://megacrypter.com/api" @@ -33,7 +33,7 @@ class MegacrypterCom(MegaCoNz): def process(self, pyfile): # match is guaranteed because plugin was chosen to handle url - node = re.match(self.__pattern, pyfile.url).group(0) + node = re.match(self.__pattern__, pyfile.url).group(0) # get Mega.co.nz link info info = self.api_response(link=node, m="info") |