Private GIT

Skip to content
Snippets Groups Projects
Commit d0435c0a authored by Alexandre Beloin's avatar Alexandre Beloin
Browse files

Merge pull request #1735 from abeloin/patch-oldpiratebay

OldTPB: Check if the returned results are proper|repack
parents 9fb717b1 5beefbdc
Branches
Tags
No related merge requests found
......@@ -327,6 +327,7 @@ class OldPirateBayProvider(generic.TorrentProvider):
for item in self._doSearch(searchString[0]):
title, url = self._get_title_and_url(item)
if re.search('(PROPER|REPACK)', title, re.I):
results.append(classes.Proper(title, url, datetime.datetime.today(), self.show))
return results
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment