diff options
Diffstat (limited to 'module/plugins/hoster/UploadStationCom.py')
-rw-r--r-- | module/plugins/hoster/UploadStationCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/UploadStationCom.py b/module/plugins/hoster/UploadStationCom.py index 22af20923..f89ef3ad1 100644 --- a/module/plugins/hoster/UploadStationCom.py +++ b/module/plugins/hoster/UploadStationCom.py @@ -62,7 +62,7 @@ class UploadStationCom(Hoster): def process(self, pyfile):
# Get URL
- self.html = self.load(self.pyfile.url, ref=False, cookies=True, utf8=True)
+ self.html = self.load(self.pyfile.url, ref=False, decode=True)
# Is offline?
m = re.search(UploadStationCom.FILE_OFFLINE_PATTERN, self.html)
@@ -84,7 +84,7 @@ class UploadStationCom(Hoster): # self.jsPage = self.load("http://uploadstation.com" + jsPage)
# Check download
- response = self.load(self.pyfile.url, post={"checkDownload" : "check"}, utf8=True)
+ response = self.load(self.pyfile.url, post={"checkDownload" : "check"}, decode=True)
self.logDebug("Checking download, response [%s]" % response.encode('ascii', 'ignore'))
self.handleErrors(response)
|