diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-05-12 14:03:56 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-05-12 14:03:56 +0200 |
commit | 304a42b914cde43a31a935181b0f952c726eee54 (patch) | |
tree | 104a496ed690c187a479cde5b829f4e76b21c1cd /pyload/plugin/crypter/DuckCryptInfo.py | |
parent | Other import fixes (diff) | |
download | pyload-304a42b914cde43a31a935181b0f952c726eee54.tar.xz |
Other import fixes (2)
Diffstat (limited to 'pyload/plugin/crypter/DuckCryptInfo.py')
-rw-r--r-- | pyload/plugin/crypter/DuckCryptInfo.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyload/plugin/crypter/DuckCryptInfo.py b/pyload/plugin/crypter/DuckCryptInfo.py index 3463d44f9..64d6568ce 100644 --- a/pyload/plugin/crypter/DuckCryptInfo.py +++ b/pyload/plugin/crypter/DuckCryptInfo.py @@ -2,7 +2,7 @@ import re -from BeautifulSoup import BeautifulSoup +import BeautifulSoup from pyload.plugin.Crypter import Crypter @@ -41,7 +41,7 @@ class DuckCryptInfo(Crypter): m = re.match(self.__pattern, html) self.logDebug("Redirectet to " + str(m.group(0))) html = self.load(str(m.group(0))) - soup = BeautifulSoup(html) + soup = BeautifulSoup.BeautifulSoup(html) cryptlinks = soup.findAll("div", attrs={"class": "folderbox"}) self.logDebug("Redirectet to " + str(cryptlinks)) if not cryptlinks: @@ -53,7 +53,7 @@ class DuckCryptInfo(Crypter): def handleLink(self, url): html = self.load(url) - soup = BeautifulSoup(html) + soup = BeautifulSoup.BeautifulSoup(html) self.urls = [soup.find("iframe")['src']] if not self.urls: self.logInfo(_("No link found")) |