summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/FreeWayMe.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/hoster/FreeWayMe.py')
-rw-r--r--pyload/plugins/hoster/FreeWayMe.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/pyload/plugins/hoster/FreeWayMe.py b/pyload/plugins/hoster/FreeWayMe.py
index ec99f850f..219333055 100644
--- a/pyload/plugins/hoster/FreeWayMe.py
+++ b/pyload/plugins/hoster/FreeWayMe.py
@@ -4,14 +4,15 @@ from pyload.plugins.base.Hoster import Hoster
class FreeWayMe(Hoster):
- __name__ = "FreeWayMe"
- __type__ = "hoster"
+ __name__ = "FreeWayMe"
+ __type__ = "hoster"
__version__ = "0.11"
- __pattern__ = r'https://(?:www\.)?free-way.me/.*'
+ __pattern__ = r'https://(?:www\.)?free-way\.me/.*'
__description__ = """FreeWayMe hoster plugin"""
- __authors__ = [("Nicolas Giese", "james@free-way.me")]
+ __license__ = "GPLv3"
+ __authors__ = [("Nicolas Giese", "james@free-way.me")]
def setup(self):
@@ -19,10 +20,11 @@ class FreeWayMe(Hoster):
self.chunkLimit = 1
self.multiDL = self.premium
+
def process(self, pyfile):
if not self.account:
self.logError(_("Please enter your %s account or deactivate this plugin") % "FreeWayMe")
- self.fail("No FreeWay account provided")
+ self.fail(_("No FreeWay account provided"))
self.logDebug("Old URL: %s" % pyfile.url)