style: Format code with black

This commit is contained in:
Paul Gauthier (aider) 2024-09-21 18:46:24 -07:00
parent 3dfc63ce79
commit 3a96a10d06

View file

@ -185,7 +185,9 @@ class Scraper:
headers = {"User-Agent": f"Mozilla./5.0 ({aider_user_agent})"}
try:
with httpx.Client(headers=headers, verify=self.verify_ssl, follow_redirects=True) as client:
with httpx.Client(
headers=headers, verify=self.verify_ssl, follow_redirects=True
) as client:
response = client.get(url)
response.raise_for_status()
return response.text, response.headers.get("content-type", "").split(";")[0]