Browse Source

ThePirateBay don't overwrite search_url

pull/2987/head
Ruud 11 years ago
parent
commit
e3fa695ad4
  1. 4
      couchpotato/core/media/_base/providers/torrent/thepiratebay.py

4
couchpotato/core/media/_base/providers/torrent/thepiratebay.py

@ -41,11 +41,11 @@ class Base(TorrentMagnetProvider):
total_pages = 1
cats = self.getCatId(quality['identifier'])
search_url = self.urls['search'] % self.getDomain()
base_search_url = self.urls['search'] % self.getDomain()
while page < total_pages:
search_url = search_url % self.buildUrl(media, page, cats)
search_url = base_search_url % self.buildUrl(media, page, cats)
page += 1

Loading…
Cancel
Save