From 73a3a628290750d84d037ebdc58bd2a0f62d0dbd Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Fri, 20 Mar 2020 14:07:04 +0100 Subject: [PATCH] Detect hidden torrent on Nyaa --- get404.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/get404.py b/get404.py index 7ac9af9..ae1f117 100644 --- a/get404.py +++ b/get404.py @@ -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))