From c9b42f02f83a95d7741eee96247466d3b610b159 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 23 Oct 2015 13:29:12 +0200 Subject: self.html -> self.data --- module/plugins/hoster/UploadingCom.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'module/plugins/hoster/UploadingCom.py') diff --git a/module/plugins/hoster/UploadingCom.py b/module/plugins/hoster/UploadingCom.py index 7b3395be4..9d394f44e 100644 --- a/module/plugins/hoster/UploadingCom.py +++ b/module/plugins/hoster/UploadingCom.py @@ -37,7 +37,7 @@ class UploadingCom(SimpleHoster): if not "/get/" in pyfile.url: pyfile.url = pyfile.url.replace("/files", "/files/get") - self.html = self.load(pyfile.url) + self.data = self.load(pyfile.url) self.get_fileInfo() if self.premium: @@ -51,8 +51,8 @@ class UploadingCom(SimpleHoster): 'code' : self.info['pattern']['ID'], 'pass' : 'undefined'} - self.html = self.load('http://uploading.com/files/get/?JsHttpRequest=%d-xml' % timestamp(), post=postData) - url = re.search(r'"link"\s*:\s*"(.*?)"', self.html) + self.data = self.load('http://uploading.com/files/get/?JsHttpRequest=%d-xml' % timestamp(), post=postData) + url = re.search(r'"link"\s*:\s*"(.*?)"', self.data) if url: self.link = url.group(1).replace("\\/", "/") @@ -60,7 +60,7 @@ class UploadingCom(SimpleHoster): def handle_free(self, pyfile): - m = re.search('

((Daily )?Download Limit)

', self.html) + m = re.search('

((Daily )?Download Limit)

', self.data) if m is not None: pyfile.error = encode(m.group(1)) self.log_warning(pyfile.error) @@ -86,8 +86,8 @@ class UploadingCom(SimpleHoster): else: self.error(_("No AJAX/URL")) - self.html = self.load(url) - m = re.search(r'