diff --git a/couchpotato/core/media/_base/providers/torrent/yify.py b/couchpotato/core/media/_base/providers/torrent/yify.py index 492eeb65..4071a156 100644 --- a/couchpotato/core/media/_base/providers/torrent/yify.py +++ b/couchpotato/core/media/_base/providers/torrent/yify.py @@ -41,7 +41,7 @@ class Base(TorrentProvider): data = self.getJsonData(search_url) data = data.get('data') - if data and data.get('movies'): + if isinstance(data, dict) and data.get('movies'): try: for result in data.get('movies'):