diff --git a/nova3/engines/eztv.py b/nova3/engines/eztv.py index 91a43b0..1b006ff 100644 --- a/nova3/engines/eztv.py +++ b/nova3/engines/eztv.py @@ -73,7 +73,7 @@ def do_query(self, what): user_agent = 'Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0' req = urllib.request.Request(url, data, {'User-Agent': user_agent}) try: - response = urllib.request.urlopen(req) + response = urllib.request.urlopen(req) # nosec B310 return response.read().decode('utf-8') except urllib.error.URLError as errno: print(f"Connection error: {errno.reason}")