-
-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shot-scraper html command #96
Comments
Prototype, help-driven development:
|
Question: should this default to saving to a file even if one is not specified (like |
I added
|
I know it's inconsistent with So I'm only going to save to a file if |
Documentation for this feature: https://shot-scraper.datasette.io/en/latest/html.html |
I dropped |
Using https://playwright.dev/python/docs/api/class-page#page-content
shot-scraper html URL
would output the full HTML for that page.Where it gets fun is that this can still support various options such as
--javascript
for modifying the page with JavaScript before grabbing that HTML snapshot.Originally posted by @simonw in #92 (comment)
Suggested by @honzajde
The text was updated successfully, but these errors were encountered: