From 922d53c914f13f966b08de710740586ab6bc4d4b Mon Sep 17 00:00:00 2001 From: RazorWing Date: Sat, 5 Jul 2014 17:37:11 +0200 Subject: New hoster: FileParadoxIn --- module/plugins/hoster/FileParadoxIn.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 module/plugins/hoster/FileParadoxIn.py (limited to 'module/plugins/hoster/FileParadoxIn.py') diff --git a/module/plugins/hoster/FileParadoxIn.py b/module/plugins/hoster/FileParadoxIn.py new file mode 100644 index 000000000..b3b89575e --- /dev/null +++ b/module/plugins/hoster/FileParadoxIn.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- + +import re + +from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo + + +class FileParadoxIn(XFileSharingPro): + __name__ = "FileParadoxIn" + __type__ = "hoster" + __pattern__ = r'https?://(?:www\.)?fileparadox\.in/\w+' + __version__ = "0.01" + __description__ = """FileParadox.in hoster plugin""" + __author_name__ = "RazorWing" + __author_mail__ = "muppetuk1@hotmail.com" + + HOSTER_NAME = "fileparadox.in" + + FILE_SIZE_PATTERN = r'\s*\(\s*(?P[^)]+)\s*\)' + DIRECT_LINK_PATTERN = r'(http://([^/]*?fileparadox.in|\d+\.\d+\.\d+\.\d+)(:\d+/d/|/files/\w+/\w+/)[^"\'<]+)' + + +getInfo = create_getInfo(FileParadoxIn) -- cgit v1.2.3