summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FileParadoxIn.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/FileParadoxIn.py')
-rw-r--r--module/plugins/hoster/FileParadoxIn.py23
1 files changed, 23 insertions, 0 deletions
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'</font>\s*\(\s*(?P<S>[^)]+)\s*\)</font>'
+ DIRECT_LINK_PATTERN = r'(http://([^/]*?fileparadox.in|\d+\.\d+\.\d+\.\d+)(:\d+/d/|/files/\w+/\w+/)[^"\'<]+)'
+
+
+getInfo = create_getInfo(FileParadoxIn)