added basic skipping for tech category

This commit is contained in:
jblu 2022-07-20 14:20:25 -05:00
parent 99f94f5265
commit 78d738a27c

View File

@ -11,6 +11,8 @@ def buildtorlist(self):
torrent = self.torrentlist.pop() torrent = self.torrentlist.pop()
if self.use_log: if self.use_log:
self.tl.debug(f'{torrent["name"]} {torrent["infohash_v1"]}') self.tl.debug(f'{torrent["name"]} {torrent["infohash_v1"]}')
if torrent['category'] == 'tech':
break
if torrent['tracker'] == '': if torrent['tracker'] == '':
if self.use_log: if self.use_log:
self.tl.warning(f"Torrent doesn't have a tracker{torrent['name']} [{torrent['tracker']}]hash: {torrent['hash']}") self.tl.warning(f"Torrent doesn't have a tracker{torrent['name']} [{torrent['tracker']}]hash: {torrent['hash']}")