summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FileSharkPl.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-09-30 00:44:55 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-09-30 00:44:55 +0200
commitc3b6253f1ea9b8c4a5aeb2c2c0be292f66a2abee (patch)
tree074493704fe976dacaacbd4f0a91d3596f0a48ee /module/plugins/hoster/FileSharkPl.py
parentMerge pull request #1882 from GammaC0de/patch-5 (diff)
downloadpyload-c3b6253f1ea9b8c4a5aeb2c2c0be292f66a2abee.tar.xz
[Captcha] _decrypt -> decrypt_image
Diffstat (limited to 'module/plugins/hoster/FileSharkPl.py')
-rw-r--r--module/plugins/hoster/FileSharkPl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/FileSharkPl.py b/module/plugins/hoster/FileSharkPl.py
index 94e2d25ab..080e35438 100644
--- a/module/plugins/hoster/FileSharkPl.py
+++ b/module/plugins/hoster/FileSharkPl.py
@@ -9,7 +9,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class FileSharkPl(SimpleHoster):
__name__ = "FileSharkPl"
__type__ = "hoster"
- __version__ = "0.14"
+ __version__ = "0.15"
__status__ = "testing"
__pattern__ = r'http://(?:www\.)?fileshark\.pl/pobierz/\d+/\w+'
@@ -100,7 +100,7 @@ class FileSharkPl(SimpleHoster):
if m is None:
self.retry(msg=_("Captcha image not found"))
- inputs['form[captcha]'] = self.captcha._decrypt(m.group(1).decode('base64'), input_type='jpeg')
+ inputs['form[captcha]'] = self.captcha.decrypt_image(m.group(1).decode('base64'), input_type='jpeg')
inputs['form[start]'] = ""
self.download(link, post=inputs, disposition=True)