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.py17
1 files changed, 3 insertions, 14 deletions
diff --git a/module/plugins/hoster/LomafileCom.py b/module/plugins/hoster/LomafileCom.py
index 18f9a7ad8..475cdacaa 100644
--- a/module/plugins/hoster/LomafileCom.py
+++ b/module/plugins/hoster/LomafileCom.py
@@ -1,12 +1,12 @@
# -*- coding: utf-8 -*-
-from pyload.plugin.internal.XFSHoster import XFSHoster, create_getInfo
+from module.plugins.internal.DeadHoster import DeadHoster, create_getInfo
-class LomafileCom(XFSHoster):
+class LomafileCom(DeadHoster):
__name__ = "LomafileCom"
__type__ = "hoster"
- __version__ = "0.51"
+ __version__ = "0.52"
__pattern__ = r'http://lomafile\.com/\w{12}'
@@ -16,15 +16,4 @@ class LomafileCom(XFSHoster):
("guidobelix", "guidobelix@hotmail.it")]
- HOSTER_DOMAIN = "lomafile.com"
-
- 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.<'
-
- CAPTCHA_PATTERN = r'(http://lomafile\.com/captchas/[^"\']+)'
-
-
getInfo = create_getInfo(LomafileCom)