summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/MegacrypterCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-19 00:05:58 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-19 00:05:58 +0200
commitdad722ac7255640e7e0541c4094a4d2e4de79cd3 (patch)
tree893a08e83fb9b465cd0ecf0b0315a5e820b06b06 /module/plugins/hoster/MegacrypterCom.py
parent[Hoster] Fix the http request issue (diff)
downloadpyload-dad722ac7255640e7e0541c4094a4d2e4de79cd3.tar.xz
Code cosmetics (2)
Diffstat (limited to 'module/plugins/hoster/MegacrypterCom.py')
-rw-r--r--module/plugins/hoster/MegacrypterCom.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/MegacrypterCom.py b/module/plugins/hoster/MegacrypterCom.py
index 7152a1cbc..e3d1c9b9e 100644
--- a/module/plugins/hoster/MegacrypterCom.py
+++ b/module/plugins/hoster/MegacrypterCom.py
@@ -34,18 +34,18 @@ class MegacrypterCom(MegaCoNz):
def process(self, pyfile):
- #: match is guaranteed because plugin was chosen to handle url
+ #: Match is guaranteed because plugin was chosen to handle url
node = re.match(self.__pattern__, pyfile.url).group(0)
#: get Mega.co.nz link info
info = self.api_response(link=node, m="info")
- #: get crypted file URL
+ #: Get crypted file URL
dl = self.api_response(link=node, m="dl")
#@TODO: map error codes, implement password protection
- # if info['pass'] is True:
- # crypted_file_key, md5_file_key = info['key'].split("#")
+ # if info['pass'] is True:
+ # crypted_file_key, md5_file_key = info['key'].split("#")
key = self.b64_decode(info['key'])