summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/LomafileCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/LomafileCom.py')
-rw-r--r--module/plugins/hoster/LomafileCom.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/module/plugins/hoster/LomafileCom.py b/module/plugins/hoster/LomafileCom.py
index ba6586deb..a7ce39d37 100644
--- a/module/plugins/hoster/LomafileCom.py
+++ b/module/plugins/hoster/LomafileCom.py
@@ -1,12 +1,12 @@
# -*- coding: utf-8 -*-
-from module.plugins.internal.XFSPHoster import XFSPHoster, create_getInfo
+from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo
-class LomafileCom(XFSPHoster):
+class LomafileCom(XFSHoster):
__name__ = "LomafileCom"
__type__ = "hoster"
- __version__ = "0.5"
+ __version__ = "0.51"
__pattern__ = r'http://lomafile\.com/\w{12}'
@@ -16,10 +16,10 @@ class LomafileCom(XFSPHoster):
("guidobelix", "guidobelix@hotmail.it")]
- HOSTER_NAME = "lomafile.com"
+ HOSTER_DOMAIN = "lomafile.com"
- FILE_NAME_PATTERN = r'<a href="http://lomafile\.com/w{12}/(?P<N>.+?)">'
- FILE_SIZE_PATTERN = r'Size:</b></td><td>(?P<S>[\d.,]+) (?P<U>[\w^_]+)'
+ NAME_PATTERN = r'<a href="http://lomafile\.com/w{12}/(?P<N>.+?)">'
+ SIZE_PATTERN = r'Size:</b></td><td>(?P<S>[\d.,]+) (?P<U>[\w^_]+)'
OFFLINE_PATTERN = r'>(No such file|Software error:<)'
TEMP_OFFLINE_PATTERN = r'The page may have been renamed, removed or be temporarily unavailable.<'