diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-23 13:29:12 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-23 13:29:12 +0200 |
commit | c9b42f02f83a95d7741eee96247466d3b610b159 (patch) | |
tree | ba642be8eeb25233e83763aab2aa6227b31c7885 /module/plugins/hoster/LolabitsEs.py | |
parent | [Dereferer] Don't preload (diff) | |
download | pyload-c9b42f02f83a95d7741eee96247466d3b610b159.tar.xz |
self.html -> self.data
Diffstat (limited to 'module/plugins/hoster/LolabitsEs.py')
-rw-r--r-- | module/plugins/hoster/LolabitsEs.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hoster/LolabitsEs.py b/module/plugins/hoster/LolabitsEs.py index e91708a10..79abc857c 100644 --- a/module/plugins/hoster/LolabitsEs.py +++ b/module/plugins/hoster/LolabitsEs.py @@ -34,18 +34,18 @@ class LolabitsEs(SimpleHoster): def handle_free(self, pyfile): - fileid = re.search(self.FILEID_PATTERN, self.html).group(1) + fileid = re.search(self.FILEID_PATTERN, self.data).group(1) self.log_debug("FileID: " + fileid) - token = re.search(self.TOKEN_PATTERN, self.html).group(1) + token = re.search(self.TOKEN_PATTERN, self.data).group(1) self.log_debug("Token: " + token) - self.html = self.load("http://lolabits.es/action/License/Download", + self.data = self.load("http://lolabits.es/action/License/Download", post={'fileId' : fileid, '__RequestVerificationToken' : token}, decode="unicode-escape") - self.link = html_unescape(re.search(self.LINK_PATTERN, self.html).group(1)) + self.link = html_unescape(re.search(self.LINK_PATTERN, self.data).group(1)) getInfo = create_getInfo(LolabitsEs) |