diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-01-17 21:41:30 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-01-17 21:41:30 +0100 |
commit | b788f326db526fd05341789557643a69900eac72 (patch) | |
tree | 45c1932978d9aeb3284ac14d995b0d8941597688 /module/plugins/hoster/IFileWs.py | |
parent | Fixed name of downloads again (diff) | |
parent | Merged in z00nx0/pyload/IFileWs (pull request #51: Added IFileWs plugin) (diff) | |
download | pyload-b788f326db526fd05341789557643a69900eac72.tar.xz |
Merged in z00nx0/pyload/CloudzerNet (pull request #50: Fixes the issue with download names)
Diffstat (limited to 'module/plugins/hoster/IFileWs.py')
-rw-r--r-- | module/plugins/hoster/IFileWs.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/module/plugins/hoster/IFileWs.py b/module/plugins/hoster/IFileWs.py new file mode 100644 index 000000000..160fe641c --- /dev/null +++ b/module/plugins/hoster/IFileWs.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo + + +class IFileWs(XFileSharingPro): + __name__ = "IFileWs" + __type__ = "hoster" + __pattern__ = r"http://(www\.)?ifile\.ws/\w+(/.+)?" + __version__ = "0.01" + __description__ = """Ifile.ws hoster plugin""" + __author_name__ = ("z00nx") + __author_mail__ = ("z00nx0@gmail.com") + + 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' + HOSTER_NAME = "ifile.ws" + LONG_WAIT_PATTERN = "(?P<M>\d(?=\s+minutes)).*(?P<S>\d+(?=\s+seconds))" + + +getInfo = create_getInfo(IFileWs) |