added basic skipping for tech category
This commit is contained in:
parent
99f94f5265
commit
78d738a27c
2
qlist.py
2
qlist.py
@ -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']}")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user