summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/MegaRapidoNet.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-06 00:54:30 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-06 00:54:30 +0200
commit5fde0798809546698cf2b2eb4aa95d0c6aa68815 (patch)
treed63c152f37e2a03453f8c0d25b40209a753c8c47 /pyload/plugin/hoster/MegaRapidoNet.py
parentMerge branch 'stable' into 0.4.10 (diff)
downloadpyload-5fde0798809546698cf2b2eb4aa95d0c6aa68815.tar.xz
handleFree -> handle_free and so on...
Diffstat (limited to 'pyload/plugin/hoster/MegaRapidoNet.py')
-rw-r--r--pyload/plugin/hoster/MegaRapidoNet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/hoster/MegaRapidoNet.py b/pyload/plugin/hoster/MegaRapidoNet.py
index 1be61f235..484f8e72f 100644
--- a/pyload/plugin/hoster/MegaRapidoNet.py
+++ b/pyload/plugin/hoster/MegaRapidoNet.py
@@ -38,7 +38,7 @@ class MegaRapidoNet(MultiHoster):
ERROR_PATTERN = r'<\s*?div[^>]*?class\s*?=\s*?["\']?alert-message error.*?>([^<]*)'
- def handlePremium(self, pyfile):
+ def handle_premium(self, pyfile):
self.html = self.load("http://megarapido.net/gerar.php",
post={'rand' :random_with_N_digits(16),
'urllist' : pyfile.url,
@@ -51,4 +51,4 @@ class MegaRapidoNet(MultiHoster):
if "desloga e loga novamente para gerar seus links" in self.html.lower():
self.error("You have logged in at another place")
- return super(MegaRapidoNet, self).handlePremium(pyfile)
+ return super(MegaRapidoNet, self).handle_premium(pyfile)