Skip to content

Commit

Permalink
Update ThePirateBay search engine. Resolves #217 (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
ngosang authored May 21, 2023
1 parent f2b29a6 commit 3508f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nova3/engines/piratebay.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 3508f23

Please sign in to comment.