Add new unregistered torrents logic

This commit is contained in:
bobokun 2021-12-17 10:43:33 -05:00
parent dd3c1e968c
commit 88e3fb2c5c
No known key found for this signature in database
GPG key ID: 9665BA6CF5DC2671

View file

@ -325,6 +325,8 @@ class Qbt:
'PACK',
'TRUMP',
'RETITLED',
'PRE-RETAIL',
'FULL SEASON',
]
for torrent in self.torrentissue:
t_name = torrent.name
@ -333,7 +335,7 @@ class Qbt:
t_status = self.torrentinfo[t_name]['status']
for x in torrent.trackers:
if x.url.startswith('http'):
tags = self.config.get_tags(x.url)
tags = self.config.get_tags([x.url])
msg_up = x.msg.upper()
#Add any potential unregistered torrents to a list
if not any(m in msg_up for m in unreg_msgs) and x.status == 4 and 'DOWN' not in msg_up and 'UNREACHABLE' not in msg_up: