I would like to crawl / scrape the Dom of a given URL and re-render it on another URL. This is for Growth Hacking tool purpose
An example would be, I want to rerender the page http://x.com/x.html.
- I browse http://example.com/render?url=http://x.com/x.html
- I suck the DOM content of http://x.com/x.html on the server side
- I re-render the sucked DOM content keeping all the dependencies intact.
The objective of this would be to manipulate the DOM like would be done by a ChromeExtension but without any extension required. This could work on any browser.
As I keep all the original dependencies (URL of the assets: images / js / CSS...) I can re-render the same page with the same design and my additional DOM modifications.
I've made few experimentations and this work fine. But my question is, is this scalable ? What about on the legal side ? Can I be brought to justice by the original website owner (even if there isn't any scam or fraud intention) ? Would you have any recommendation ?