From 3508f23400a995106d2a8d32f644d517ec856dca Mon Sep 17 00:00:00 2001 From: Diego Heras Date: Sun, 21 May 2023 14:05:33 +0200 Subject: [PATCH] Update ThePirateBay search engine. Resolves #217 (#238) --- nova3/engines/piratebay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova3/engines/piratebay.py b/nova3/engines/piratebay.py index 033c01a..aa36b8a 100644 --- a/nova3/engines/piratebay.py +++ b/nova3/engines/piratebay.py @@ -79,7 +79,7 @@ def search(self, what, cat='all'): # parse results for result in response_json: - if result['name'] == 'No results returned': + if result['info_hash'] == '0000000000000000000000000000000000000000': continue res = { 'link': self.download_link(result),