summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FreeWayMe.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-07 01:23:55 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-07 01:23:55 +0200
commitb1759bc440cd6013837697eb8de540914f693ffd (patch)
treed170caf63d7f65e44d23ea2d91a65759a1665928 /module/plugins/hoster/FreeWayMe.py
parent[Plugin] Fix decoding in load method (diff)
downloadpyload-b1759bc440cd6013837697eb8de540914f693ffd.tar.xz
No camelCase style anymore
Diffstat (limited to 'module/plugins/hoster/FreeWayMe.py')
-rw-r--r--module/plugins/hoster/FreeWayMe.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/module/plugins/hoster/FreeWayMe.py b/module/plugins/hoster/FreeWayMe.py
index 59b3d93bb..3750e6069 100644
--- a/module/plugins/hoster/FreeWayMe.py
+++ b/module/plugins/hoster/FreeWayMe.py
@@ -6,7 +6,7 @@ from module.plugins.internal.MultiHoster import MultiHoster, create_getInfo
class FreeWayMe(MultiHoster):
__name__ = "FreeWayMe"
__type__ = "hoster"
- __version__ = "0.18"
+ __version__ = "0.19"
__pattern__ = r'https?://(?:www\.)?free-way\.(bz|me)/.+'
__config__ = [("use_premium" , "bool", "Use premium account if available" , True),
@@ -18,12 +18,12 @@ class FreeWayMe(MultiHoster):
def setup(self):
- self.resumeDownload = False
- self.multiDL = self.premium
- self.chunkLimit = 1
+ self.resume_download = False
+ self.multi_dl = self.premium
+ self.chunk_limit = 1
- def handlePremium(self, pyfile):
+ def handle_premium(self, pyfile):
user, data = self.account.selectAccount()
for _i in xrange(5):
@@ -40,14 +40,14 @@ class FreeWayMe(MultiHoster):
headers = self.load(header['location'], just_header=True)
if headers['code'] == 500:
#: error on 2nd stage
- self.logError(_("Error [stage2]"))
+ self.log_error(_("Error [stage2]"))
else:
#: seems to work..
self.download(header['location'])
break
else:
#: error page first stage
- self.logError(_("Error [stage1]"))
+ self.log_error(_("Error [stage1]"))
#@TODO: handle errors