We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc5ed6a commit 9a14d54Copy full SHA for 9a14d54
nova3/engines/eztv.py
@@ -73,7 +73,7 @@ def do_query(self, what):
73
user_agent = 'Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0'
74
req = urllib.request.Request(url, data, {'User-Agent': user_agent})
75
try:
76
- response = urllib.request.urlopen(req)
+ response = urllib.request.urlopen(req) # nosec B310
77
return response.read().decode('utf-8')
78
except urllib.error.URLError as errno:
79
print(f"Connection error: {errno.reason}")
0 commit comments