summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/LomafileCom.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/hoster/LomafileCom.py b/module/plugins/hoster/LomafileCom.py
index 98b89a732..372d42fd3 100644
--- a/module/plugins/hoster/LomafileCom.py
+++ b/module/plugins/hoster/LomafileCom.py
@@ -8,17 +8,17 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class LomafileCom(SimpleHoster):
__name__ = "LomafileCom"
__type__ = "hoster"
- __version__ = "0.1"
+ __version__ = "0.2"
__pattern__ = r'https?://lomafile\.com/.+/[\w\.]+'
- __description__ = """Lomafile.com hoster plugin"""
+ __description__ = """ Lomafile.com hoster plugin """
__author_name__ = "nath_schwarz"
__author_mail__ = "nathan.notwhite@gmail.com"
FILE_NAME_PATTERN = r'Filename:[^>]*>(?P<N>[\w\.]+)'
FILE_SIZE_PATTERN = r'\((?P<S>\d+)\s(?P<U>\w+)\)'
- FILE_OFFLINE_PATTERN = r'Software error'
+ OFFLINE_PATTERN = r'Software error'
def handleFree(self):
@@ -57,4 +57,5 @@ class LomafileCom(SimpleHoster):
else:
self.fail("Invalid captcha-code entered.")
+
getInfo = create_getInfo(LomafileCom)