mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
style: Format code with linter
This commit is contained in:
parent
55b7089766
commit
ec63642666
1 changed files with 3 additions and 1 deletions
|
@ -144,7 +144,9 @@ class Scraper:
|
||||||
|
|
||||||
try:
|
try:
|
||||||
content = page.content()
|
content = page.content()
|
||||||
mime_type = response.header_value("content-type").split(";")[0] if response else None
|
mime_type = (
|
||||||
|
response.header_value("content-type").split(";")[0] if response else None
|
||||||
|
)
|
||||||
except playwright._impl._errors.Error as e:
|
except playwright._impl._errors.Error as e:
|
||||||
self.print_error(f"Error retrieving page content: {str(e)}")
|
self.print_error(f"Error retrieving page content: {str(e)}")
|
||||||
content = None
|
content = None
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue