summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/IFileWs.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/IFileWs.py')
-rw-r--r--module/plugins/hoster/IFileWs.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/module/plugins/hoster/IFileWs.py b/module/plugins/hoster/IFileWs.py
index 5b0adaa97..94d3e599e 100644
--- a/module/plugins/hoster/IFileWs.py
+++ b/module/plugins/hoster/IFileWs.py
@@ -6,17 +6,18 @@ from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInf
class IFileWs(XFileSharingPro):
__name__ = "IFileWs"
__type__ = "hoster"
- __pattern__ = r'http://(?:www\.)?ifile\.ws/\w+(/.+)?'
__version__ = "0.01"
+
+ __pattern__ = r'http://(?:www\.)?ifile\.ws/\w+(/.+)?'
+
__description__ = """Ifile.ws hoster plugin"""
__author_name__ = "z00nx"
__author_mail__ = "z00nx0@gmail.com"
HOSTER_NAME = "ifile.ws"
- FILE_INFO_PATTERN = '<h1\s+style="display:inline;">(?P<N>[^<]+)</h1>\s+\[(?P<S>[^]]+)\]'
- FILE_OFFLINE_PATTERN = 'File Not Found|The file was removed by administrator'
- LONG_WAIT_PATTERN = "(?P<M>\d(?=\s+minutes)).*(?P<S>\d+(?=\s+seconds))"
+ FILE_INFO_PATTERN = r'<h1\s+style="display:inline;">(?P<N>[^<]+)</h1>\s+\[(?P<S>[^]]+)\]'
+ OFFLINE_PATTERN = r'File Not Found|The file was removed by administrator'
getInfo = create_getInfo(IFileWs)