summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-03-08 20:38:07 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-03-08 20:38:07 +0100
commit6f77d9c783d1a51f4c320b15fad8a4edd3bda414 (patch)
tree62b20d2ac873896b44d906fd503d039a00b6ea1c /module
parent[ExternalScripts] Improve (diff)
downloadpyload-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.py4
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))