User agent removed

This commit is contained in:
jeancf 2022-11-22 11:33:45 +01:00
parent 68e4918b02
commit e11102f4a6

View File

@ -86,7 +86,7 @@ def deredir_url(url):
ret = None ret = None
try: try:
# Download the page # Download the page
ret = requests.get(url, headers, timeout=5) ret = requests.get(url, timeout=5)
except: except:
# If anything goes wrong keep the URL intact # If anything goes wrong keep the URL intact
return url return url