summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/OneFichierCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/OneFichierCom.py')
-rw-r--r--pyload/plugin/hoster/OneFichierCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/hoster/OneFichierCom.py b/pyload/plugin/hoster/OneFichierCom.py
index 1fc89db10..1c5c87a99 100644
--- a/pyload/plugin/hoster/OneFichierCom.py
+++ b/pyload/plugin/hoster/OneFichierCom.py
@@ -38,7 +38,7 @@ class OneFichierCom(SimpleHoster):
self.resumeDownload = True
- def handleFree(self, pyfile):
+ def handle_free(self, pyfile):
id = self.info['pattern']['ID1'] or self.info['pattern']['ID2']
url, inputs = self.parseHtmlForm('action="https://1fichier.com/\?%s' % id)
@@ -53,5 +53,5 @@ class OneFichierCom(SimpleHoster):
self.download(url, post=inputs)
- def handlePremium(self, pyfile):
+ def handle_premium(self, pyfile):
self.download(pyfile.url, post={'dl': "Download", 'did': 0})