Merge pull request #607 from fittysix/patch-2

Add moderator to confirmed TPB torrent posters
This commit is contained in:
echel0n 2014-06-19 09:44:38 -07:00
commit cf13581db6

View file

@ -256,7 +256,7 @@ class ThePirateBayProvider(generic.TorrentProvider):
continue
#Accept Torrent only from Good People for every Episode Search
if self.confirmed and re.search('(VIP|Trusted|Helper)', torrent.group(0)) is None:
if self.confirmed and re.search('(VIP|Trusted|Helper|Moderator)', torrent.group(0)) is None:
logger.log(u"ThePirateBay Provider found result " + torrent.group(
'title') + " but that doesn't seem like a trusted result so I'm ignoring it", logger.DEBUG)
continue