diff --git a/couchpotato/core/providers/torrent/bitsoup/main.py b/couchpotato/core/providers/torrent/bitsoup/main.py index 4129b5c..45ad41d 100644 --- a/couchpotato/core/providers/torrent/bitsoup/main.py +++ b/couchpotato/core/providers/torrent/bitsoup/main.py @@ -32,7 +32,7 @@ class Base(TorrentProvider): def _search(self, media, quality, results): url = self.urls['search'] % self.buildUrl(media, quality) - data = self.getHTMLData(url, opener = self.login_opener) + data = self.getHTMLData(url) if data: html = BeautifulSoup(data, "html.parser") diff --git a/couchpotato/core/providers/torrent/iptorrents/main.py b/couchpotato/core/providers/torrent/iptorrents/main.py index 6882196..f0a2d12 100644 --- a/couchpotato/core/providers/torrent/iptorrents/main.py +++ b/couchpotato/core/providers/torrent/iptorrents/main.py @@ -52,10 +52,7 @@ class Base(TorrentProvider): pages = 1 current_page = 1 while current_page <= pages and not self.shuttingDown(): - data = self.getHTMLData( - base_url % (freeleech, current_page), - opener = self.login_opener - ) + data = self.getHTMLData(base_url % (freeleech, current_page)) if data: html = BeautifulSoup(data) diff --git a/couchpotato/core/providers/torrent/sceneaccess/main.py b/couchpotato/core/providers/torrent/sceneaccess/main.py index 31c338b..992bd23 100644 --- a/couchpotato/core/providers/torrent/sceneaccess/main.py +++ b/couchpotato/core/providers/torrent/sceneaccess/main.py @@ -34,7 +34,7 @@ class Base(TorrentProvider): def _search(self, media, quality, results): url = self.buildUrl(media, quality) - data = self.getHTMLData(url, opener = self.login_opener) + data = self.getHTMLData(url) if data: html = BeautifulSoup(data) @@ -150,4 +150,4 @@ class Episode(EpisodeProvider, Base): }) query = "%s&%s" % (url, arguments) - return query \ No newline at end of file + return query diff --git a/couchpotato/core/providers/torrent/torrentleech/main.py b/couchpotato/core/providers/torrent/torrentleech/main.py index fba8323..739a7c4 100644 --- a/couchpotato/core/providers/torrent/torrentleech/main.py +++ b/couchpotato/core/providers/torrent/torrentleech/main.py @@ -33,7 +33,7 @@ class Base(TorrentProvider): url = self.urls['search'] % self.buildUrl(media, quality) - data = self.getHTMLData(url, opener = self.login_opener) + data = self.getHTMLData(url) if data: html = BeautifulSoup(data) diff --git a/couchpotato/core/providers/torrent/torrentshack/main.py b/couchpotato/core/providers/torrent/torrentshack/main.py index 6a91ff6..a641956 100644 --- a/couchpotato/core/providers/torrent/torrentshack/main.py +++ b/couchpotato/core/providers/torrent/torrentshack/main.py @@ -32,7 +32,7 @@ class Base(TorrentProvider): def _search(self, media, quality, results): url = self.urls['search'] % self.buildUrl(media, quality) - data = self.getHTMLData(url, opener = self.login_opener) + data = self.getHTMLData(url) if data: html = BeautifulSoup(data)