diff options
| author | 2011-06-02 13:17:49 +0200 | |
|---|---|---|
| committer | 2011-06-02 13:17:49 +0200 | |
| commit | 34a2449b8b1fe794d5df08eae1cc8de0a9fc3810 (patch) | |
| tree | 56941ef7289ba508ca31ce9ffc593a22eb71a846 /module | |
| parent | wupload premium (untested), new log functions for plugins, decode kwarg for r... (diff) | |
| download | pyload-34a2449b8b1fe794d5df08eae1cc8de0a9fc3810.tar.xz | |
upload to fix
Diffstat (limited to 'module')
| -rw-r--r-- | module/plugins/hoster/UploadedTo.py | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/module/plugins/hoster/UploadedTo.py b/module/plugins/hoster/UploadedTo.py index 3e2b657d9..c1b3b9d05 100644 --- a/module/plugins/hoster/UploadedTo.py +++ b/module/plugins/hoster/UploadedTo.py @@ -36,7 +36,7 @@ def getAPIData(urls):              post["id_%s" % i] = id              idMap[id] = url -        api = decode(getURL("http://uploaded.to/api/filemultiple", post=post)) +        api = getURL("http://uploaded.to/api/filemultiple", post=post, decode=True)          result = {} @@ -125,12 +125,12 @@ class UploadedTo(Hoster):      def handleFree(self): -        self.html = self.load(self.pyfile.url) +        self.html = self.load(self.pyfile.url, decode=True)          wait = re.search(r"Current waiting period: <span>(\d+)</span> seconds", self.html).group(1)          self.setWait(wait) -        js = self.load("http://uploaded.to/js/download.js") +        js = self.load("http://uploaded.to/js/download.js", decode=True)          challengeId = re.search(r'Recaptcha\.create\("([^"]+)', js) @@ -145,7 +145,7 @@ class UploadedTo(Hoster):              self.wait()              result = self.load(url, post=options) -            self.log.debug("UploadedTo result: %s" % result) +            self.logDebug("result: %s" % result)              if "limit-size" in result:                  self.fail("File too big for free download") | 
