mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
style: Format code with black
This commit is contained in:
parent
3dfc63ce79
commit
3a96a10d06
1 changed files with 3 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue