diff --git a/couchpotato/core/providers/torrent/sceneaccess/main.py b/couchpotato/core/providers/torrent/sceneaccess/main.py index b2d3dd6..7e9ab89 100644 --- a/couchpotato/core/providers/torrent/sceneaccess/main.py +++ b/couchpotato/core/providers/torrent/sceneaccess/main.py @@ -29,9 +29,13 @@ class SceneAccess(TorrentProvider): def _search(self, movie, quality, results): + cat = self.getCatId(quality['identifier']) + if not cat: + return + url = self.urls['search'] % ( - self.getCatId(quality['identifier'])[0], - self.getCatId(quality['identifier'])[0] + cat[0], + cat[0] ) arguments = tryUrlencode({