diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-18 16:07:21 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-18 16:07:21 +0100 |
commit | 4e9c8f7ab1269966a9eac9e1b6363f5458f9f970 (patch) | |
tree | 82f54383c4f5a341ff43c06bb51e6309987c22ad /module/plugins/hoster/FileSharkPl.py | |
parent | Update account plugins (diff) | |
download | pyload-4e9c8f7ab1269966a9eac9e1b6363f5458f9f970.tar.xz |
Update checkFile routine in some hoster plugins
Diffstat (limited to 'module/plugins/hoster/FileSharkPl.py')
-rw-r--r-- | module/plugins/hoster/FileSharkPl.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/hoster/FileSharkPl.py b/module/plugins/hoster/FileSharkPl.py index 25825a229..5250a92fe 100644 --- a/module/plugins/hoster/FileSharkPl.py +++ b/module/plugins/hoster/FileSharkPl.py @@ -10,7 +10,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class FileSharkPl(SimpleHoster): __name__ = "FileSharkPl" __type__ = "hoster" - __version__ = "0.04" + __version__ = "0.05" __pattern__ = r'http://(?:www\.)?fileshark\.pl/pobierz/\d{6}/\w{5}' @@ -116,6 +116,8 @@ class FileSharkPl(SimpleHoster): def checkFile(self): + super(FileSharkPl, self).checkFile() + check = self.checkDownload({'wrong_captcha': re.compile(r'<label for="form_captcha" generated="true" class="error">(.*?)</label>'), 'wait_pattern' : re.compile(self.SECONDS_PATTERN), 'DL-found' : re.compile('<a href="(.*)">')}) |