mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 14:55:00 +00:00
removed get_playwright_instructions
This commit is contained in:
parent
a522b2fd85
commit
c5d93d7f0c
2 changed files with 0 additions and 7 deletions
|
@ -482,10 +482,6 @@ class GUI:
|
||||||
if not self.state.scraper:
|
if not self.state.scraper:
|
||||||
self.scraper = Scraper(print_error=self.info)
|
self.scraper = Scraper(print_error=self.info)
|
||||||
|
|
||||||
instructions = self.scraper.get_playwright_instructions()
|
|
||||||
if instructions:
|
|
||||||
self.info(instructions)
|
|
||||||
|
|
||||||
content = self.scraper.scrape(url) or ""
|
content = self.scraper.scrape(url) or ""
|
||||||
if content.strip():
|
if content.strip():
|
||||||
content = f"{url}\n\n" + content
|
content = f"{url}\n\n" + content
|
||||||
|
|
|
@ -134,9 +134,6 @@ class Scraper:
|
||||||
|
|
||||||
return content
|
return content
|
||||||
|
|
||||||
def get_playwright_instructions(self):
|
|
||||||
return
|
|
||||||
|
|
||||||
def scrape_with_httpx(self, url):
|
def scrape_with_httpx(self, url):
|
||||||
import httpx
|
import httpx
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue