From acc46fc3497a66a427b795b4a22c6e71d69185a1 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sat, 13 Dec 2014 15:56:57 +0100 Subject: Update --- pyload/plugin/hoster/LomafileCom.py | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pyload/plugin/hoster/LomafileCom.py (limited to 'pyload/plugin/hoster/LomafileCom.py') diff --git a/pyload/plugin/hoster/LomafileCom.py b/pyload/plugin/hoster/LomafileCom.py new file mode 100644 index 000000000..3c0f5ea5b --- /dev/null +++ b/pyload/plugin/hoster/LomafileCom.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- + +from pyload.plugin.internal.XFSHoster import XFSHoster, create_getInfo + + +class LomafileCom(XFSHoster): + __name = "LomafileCom" + __type = "hoster" + __version = "0.51" + + __pattern = r'http://lomafile\.com/\w{12}' + + __description = """Lomafile.com hoster plugin""" + __license = "GPLv3" + __authors = [("nath_schwarz", "nathan.notwhite@gmail.com"), + ("guidobelix", "guidobelix@hotmail.it")] + + + HOSTER_DOMAIN = "lomafile.com" + + NAME_PATTERN = r'' + SIZE_PATTERN = r'Size:(?P[\d.,]+) (?P[\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) -- cgit v1.2.3