mirror of
https://github.com/jaypyles/Scraperr.git
synced 2025-12-12 02:35:43 +00:00
feat: edit ui + add return html option (#90)
* fix: restyle the element table * chore: wip ui * wip: edit styles * feat: add html return * fix: build * fix: workflow * fix: workflow * fix: workflow * fix: workflow * fix: workflow * fix: workflow * fix: workflow * fix: cypress test * chore: update photo [skip ci]
This commit is contained in:
@@ -63,7 +63,9 @@ async def scrape_with_agent(agent_job: dict[str, Any]):
|
||||
|
||||
xpaths = parse_response(response)
|
||||
|
||||
captured_elements = await capture_elements(page, xpaths)
|
||||
captured_elements = await capture_elements(
|
||||
page, xpaths, agent_job["job_options"]["return_html"]
|
||||
)
|
||||
|
||||
final_url = page.url
|
||||
|
||||
|
||||
Reference in New Issue
Block a user