diff options
author | 2014-04-11 12:21:37 +0200 | |
---|---|---|
committer | 2014-04-11 12:21:37 +0200 | |
commit | 02e1638896c073f5d1c904a3e611d09298df79fa (patch) | |
tree | baef9d74b16b4a3792304b6d89447b1e4a548867 /module/plugins/hoster/IFileWs.py | |
parent | Use re.match for __pattern__ matches instead re.search (diff) | |
download | pyload-02e1638896c073f5d1c904a3e611d09298df79fa.tar.xz |
Fix HOSTER_NAME in XFileSharingPro plugins
Merges vuolter/pyload@f20b998
Diffstat (limited to 'module/plugins/hoster/IFileWs.py')
-rw-r--r-- | module/plugins/hoster/IFileWs.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hoster/IFileWs.py b/module/plugins/hoster/IFileWs.py index 3aa369aec..1b94239aa 100644 --- a/module/plugins/hoster/IFileWs.py +++ b/module/plugins/hoster/IFileWs.py @@ -11,9 +11,10 @@ class IFileWs(XFileSharingPro): __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' - HOSTER_NAME = "ifile.ws" LONG_WAIT_PATTERN = "(?P<M>\d(?=\s+minutes)).*(?P<S>\d+(?=\s+seconds))" |