diff options
author | 2015-10-23 13:29:12 +0200 | |
---|---|---|
committer | 2015-10-23 13:29:12 +0200 | |
commit | c9b42f02f83a95d7741eee96247466d3b610b159 (patch) | |
tree | ba642be8eeb25233e83763aab2aa6227b31c7885 /module/plugins/hoster/ZippyshareCom.py | |
parent | [Dereferer] Don't preload (diff) | |
download | pyload-c9b42f02f83a95d7741eee96247466d3b610b159.tar.xz |
self.html -> self.data
Diffstat (limited to 'module/plugins/hoster/ZippyshareCom.py')
-rw-r--r-- | module/plugins/hoster/ZippyshareCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/ZippyshareCom.py b/module/plugins/hoster/ZippyshareCom.py index 7266660f9..be77af5cd 100644 --- a/module/plugins/hoster/ZippyshareCom.py +++ b/module/plugins/hoster/ZippyshareCom.py @@ -46,7 +46,7 @@ class ZippyshareCom(SimpleHoster): if captcha_key: try: - self.link = re.search(self.LINK_PREMIUM_PATTERN, self.html) + self.link = re.search(self.LINK_PREMIUM_PATTERN, self.data) recaptcha.challenge() except Exception, e: @@ -61,7 +61,7 @@ class ZippyshareCom(SimpleHoster): def get_link(self): #: Get all the scripts inside the html body - soup = BeautifulSoup.BeautifulSoup(self.html) + soup = BeautifulSoup.BeautifulSoup(self.data) scripts = (s.getText().strip() for s in soup.body.findAll('script', type='text/javascript')) #: Meant to be populated with the initialization of all the DOM elements found in the scripts |