diff options
| author | 2015-03-08 20:38:07 +0100 | |
|---|---|---|
| committer | 2015-03-08 20:38:07 +0100 | |
| commit | 6f77d9c783d1a51f4c320b15fad8a4edd3bda414 (patch) | |
| tree | 62b20d2ac873896b44d906fd503d039a00b6ea1c /module | |
| parent | [ExternalScripts] Improve (diff) | |
| download | pyload-6f77d9c783d1a51f4c320b15fad8a4edd3bda414.tar.xz | |
[FileSharkPl] Fix https://github.com/pyload/pyload/issues/1040 (thx https://github.com/valdi74)
Diffstat (limited to 'module')
| -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 e4ce711bd..7e6130739 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.07" +    __version__ = "0.08"      __pattern__ = r'http://(?:www\.)?fileshark\.pl/pobierz/\d+/\w+' @@ -80,6 +80,8 @@ class FileSharkPl(SimpleHoster):          link = urljoin("http://fileshark.pl", m.group(1)) +        self.html = self.load(link, decode=True) +          m = re.search(self.WAIT_PATTERN, self.html)          if m:              seconds = int(m.group(1)) | 
