Detect hidden torrent on Nyaa

This commit is contained in:
Michel Roux 2020-03-20 14:07:04 +01:00
parent 4ea5e946d0
commit 73a3a62829

View File

@ -11,3 +11,5 @@ for link in links:
if html['http_code'] is not 200:
print('(%d) %s %s : %s' % (html['http_code'], link.title.name, link.season, link.link))
elif 'darkgray' in html['output']:
print('(darkgray) %s %s : %s' % (link.title.name, link.season, link.link))