Download html and allow JS do work (smart wget).
Based upon chromedp/chromedp
Name | Description |
---|---|
target-url | Page address |
ready-timeout | How many time you allow for JS affect page |
output | Save result to file |
- Installed chrome browser
./wgetjs \
--target-url=https://www.some-site.com/some/page/what/modified-with-js-after-it-is-loaded/ \
--ready-timeout=3500 \
> ~/result.html
go get -u github.com/goforbroke1006/wgetjs/cmd/wgetjs