diff options
Diffstat (limited to 'pyload/plugins/hoster/IFileWs.py')
-rw-r--r-- | pyload/plugins/hoster/IFileWs.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pyload/plugins/hoster/IFileWs.py b/pyload/plugins/hoster/IFileWs.py new file mode 100644 index 000000000..45039f8e0 --- /dev/null +++ b/pyload/plugins/hoster/IFileWs.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- + +from pyload.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo + + +class IFileWs(XFileSharingPro): + __name__ = "IFileWs" + __type__ = "hoster" + __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 = 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) |