style: black
All checks were successful
dl / lint (push) Successful in 1m29s
dl / docker (push) Successful in 1m5s

This commit is contained in:
Michel Roux 2024-01-26 11:46:36 +00:00
parent 10faac6459
commit 310ad49337

View File

@ -20,9 +20,9 @@ LOGGER.addHandler(StreamHandler(stdout))
class CustomHTTPHandler(DefaultHTTPHandler):
def request(self, url, query, headers, timeout):
headers[
"User-Agent"
] = "Mozilla/5.0 (X11; Linux x86_64; rv:111.0) Gecko/20100101 Firefox/111.0"
headers["User-Agent"] = (
"Mozilla/5.0 (X11; Linux x86_64; rv:111.0) Gecko/20100101 Firefox/111.0"
)
return super().request(url, query, headers, timeout)