summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-31 21:56:25 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-31 21:56:25 +0200
commitb26daf96006e16cfca296b9f78021254b6e6fa8f (patch)
treed1166be13ba2942a68bf55656b82845708d09e91 /module/plugins
parentfixed positional captchas + availbillity over thrift (diff)
downloadpyload-b26daf96006e16cfca296b9f78021254b6e6fa8f.tar.xz
automatically try to decode all request according to http header
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hoster/UploadedTo.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/hoster/UploadedTo.py b/module/plugins/hoster/UploadedTo.py
index 18d886947..3e2b657d9 100644
--- a/module/plugins/hoster/UploadedTo.py
+++ b/module/plugins/hoster/UploadedTo.py
@@ -2,6 +2,8 @@
import re
+from module.utils import decode
+
from module.plugins.Hoster import Hoster
from module.network.RequestFactory import getURL
from module.plugins.Plugin import chunks
@@ -34,7 +36,7 @@ def getAPIData(urls):
post["id_%s" % i] = id
idMap[id] = url
- api = getURL("http://uploaded.to/api/filemultiple", post=post)
+ api = decode(getURL("http://uploaded.to/api/filemultiple", post=post))
result = {}