diff --git a/headphones/searcher.py b/headphones/searcher.py index c08ed287..d2a76fc2 100644 --- a/headphones/searcher.py +++ b/headphones/searcher.py @@ -453,6 +453,9 @@ def verifyresult(title, term): return True def getresultNZB(result): + + nzb = None + if result[3] == 'newzbin': params = urllib.urlencode({"username": headphones.NEWZBIN_UID, "password": headphones.NEWZBIN_PASSWORD, "reportid": result[2]}) url = "https://www.newzbin.com" + "/api/dnzb/"