summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar RazorWing <muppetuk1@hotmail.com> 2014-07-05 17:37:11 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-05 17:37:11 +0200
commit922d53c914f13f966b08de710740586ab6bc4d4b (patch)
treef7db5d1d6a69ee56bfdf08a6afe6455c5933d7c4 /module/plugins/hoster
parent[SimpleHoster] Better inline docs + changed "FILE_OFFLINE_PATTERN" to "OFFLIN... (diff)
downloadpyload-922d53c914f13f966b08de710740586ab6bc4d4b.tar.xz
New hoster: FileParadoxIn
Diffstat (limited to 'module/plugins/hoster')
-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)