diff options
| author | 2011-05-31 21:56:25 +0200 | |
|---|---|---|
| committer | 2011-05-31 21:56:25 +0200 | |
| commit | b26daf96006e16cfca296b9f78021254b6e6fa8f (patch) | |
| tree | d1166be13ba2942a68bf55656b82845708d09e91 /module/plugins/hoster | |
| parent | fixed positional captchas + availbillity over thrift (diff) | |
| download | pyload-b26daf96006e16cfca296b9f78021254b6e6fa8f.tar.xz | |
automatically try to decode all request according to http header
Diffstat (limited to 'module/plugins/hoster')
| -rw-r--r-- | module/plugins/hoster/UploadedTo.py | 4 | 
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 = {}  | 
