summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/ExpertDecoders.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-07 18:57:59 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-07 18:57:59 +0200
commitb0868ae6446078bacf1635dde5e4ab316b4a94cb (patch)
tree1f5eb9bf4dfd413b954b2ea87749cd10da19de0e /module/plugins/hooks/ExpertDecoders.py
parent[SimpleCrypter][SimpleHoster] Better exception handling (diff)
downloadpyload-b0868ae6446078bacf1635dde5e4ab316b4a94cb.tar.xz
New __authors__ key replaces __author_name__ and __author_mail__ + Whitespaces and EOF fixup
Diffstat (limited to 'module/plugins/hooks/ExpertDecoders.py')
-rw-r--r--module/plugins/hooks/ExpertDecoders.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/hooks/ExpertDecoders.py b/module/plugins/hooks/ExpertDecoders.py
index 06f1e9982..1941cecba 100644
--- a/module/plugins/hooks/ExpertDecoders.py
+++ b/module/plugins/hooks/ExpertDecoders.py
@@ -22,8 +22,9 @@ class ExpertDecoders(Hook):
("passkey", "password", "Access key", "")]
__description__ = """Send captchas to expertdecoders.com"""
- __author_name__ = ("RaNaN", "zoidberg")
- __author_mail__ = ("RaNaN@pyload.org", "zoidberg@mujmail.cz")
+ __authors__ = [("RaNaN", "RaNaN@pyload.org"),
+ ("zoidberg", "zoidberg@mujmail.cz")]
+
API_URL = "http://www.fasttypers.org/imagepost.ashx"
@@ -55,7 +56,7 @@ class ExpertDecoders(Hook):
req.c.setopt(LOW_SPEED_TIME, 80)
try:
- result = req.load(self.API_URL, post={"action": "upload", "key": self.getConfig("passkey"),
+ result = req.load(self.API_URL, post={"action": "upload", "key": self.getConfig("passkey"),
"file": data, "gen_task_id": ticket})
finally:
req.close()