diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-09-04 22:29:59 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-09-04 22:29:59 +0200 |
commit | a2b1a203a7666052d4857620b4712e82160747c2 (patch) | |
tree | d1ff91d5c4ac1e6a13f1855d9a168c6165fe2ed0 /module/plugins/hoster | |
parent | [Easybytez] distributing LINK_PATTERN (diff) | |
download | pyload-a2b1a203a7666052d4857620b4712e82160747c2.tar.xz |
[SimpleHoster] Improve parseFileInfo
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/LomafileCom.py | 7 |
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) |