Created
March 24, 2024 23:33
-
-
Save Brandon7CC/4b9c6ad6dc2f5f1189fa8bc038a13332 to your computer and use it in GitHub Desktop.
Google Chrome page save after JS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \ | |
--headless --incognito --dump-dom https://github.com > /tmp/github.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://news.ycombinator.com/item?id=39810378