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.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/module/plugins/hoster/FileParadoxIn.py b/module/plugins/hoster/FileParadoxIn.py
index 6234c36df..0b5b57e22 100644
--- a/module/plugins/hoster/FileParadoxIn.py
+++ b/module/plugins/hoster/FileParadoxIn.py
@@ -2,22 +2,22 @@
import re
-from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo
+from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo
-class FileParadoxIn(XFileSharingPro):
- __name__ = "FileParadoxIn"
- __type__ = "hoster"
- __pattern__ = r'https?://(?:www\.)?fileparadox\.in/\w+'
- __version__ = "0.01"
+class FileParadoxIn(XFSHoster):
+ __name__ = "FileParadoxIn"
+ __type__ = "hoster"
+ __version__ = "0.04"
+
+ __pattern__ = r'https?://(?:www\.)?fileparadox\.in/\w{12}'
+
__description__ = """FileParadox.in hoster plugin"""
- __author_name__ = "RazorWing"
- __author_mail__ = "muppetuk1@hotmail.com"
+ __license__ = "GPLv3"
+ __authors__ = [("RazorWing", "muppetuk1@hotmail.com")]
- HOSTER_NAME = "fileparadox.in"
- FILE_SIZE_PATTERN = r'</font>\s*\(\s*(?P<S>[^)]+)\s*\)</font>'
- LINK_PATTERN = r'(http://([^/]*?fileparadox.in|\d+\.\d+\.\d+\.\d+)(:\d+/d/|/files/\w+/\w+/)[^"\'<]+)'
+ HOSTER_DOMAIN = "fileparadox.in"
getInfo = create_getInfo(FileParadoxIn)