diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-12-14 16:08:07 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-12-27 21:19:38 +0100 |
commit | 299a26f5422f7309dafb30a6876e0c5d164bf92c (patch) | |
tree | 2ac7a1937f096334edbf8011bcd015d88d0307bc /module/plugins/captcha/AdYouLike.py | |
parent | Rewrite utils (1) (diff) | |
download | pyload-299a26f5422f7309dafb30a6876e0c5d164bf92c.tar.xz |
Update captchas
Diffstat (limited to 'module/plugins/captcha/AdYouLike.py')
-rw-r--r-- | module/plugins/captcha/AdYouLike.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/captcha/AdYouLike.py b/module/plugins/captcha/AdYouLike.py index c374c5bcf..c21a3d4fa 100644 --- a/module/plugins/captcha/AdYouLike.py +++ b/module/plugins/captcha/AdYouLike.py @@ -2,14 +2,14 @@ import re -from module.plugins.internal.utils import json +from module.plugins.internal.misc import json from module.plugins.internal.CaptchaService import CaptchaService class AdYouLike(CaptchaService): __name__ = "AdYouLike" __type__ = "captcha" - __version__ = "0.08" + __version__ = "0.09" __status__ = "testing" __description__ = """AdYouLike captcha service plugin""" @@ -42,7 +42,7 @@ class AdYouLike(CaptchaService): #: 'all':{'element_id':"ayl_private_cap_92300",'lang':"fr",'env':"prod"}} ayl = json.loads(ayl) - html = self.plugin.load("http://api-ayl.appspot.com/challenge", + html = self.pyfile.plugin.load("http://api-ayl.appspot.com/challenge", get={'key' : ayl['adyoulike']['key'], 'env' : ayl['all']['env'], 'callback': callback}) |