I've just started learning typescript and this is the kind of library I'm looking to write to improve myself.
I would love to have a tool that can give me an exact dump of the actual DOM (and allow me to restore it). I've found some libraries that try to do this, but they are randomly failing so haven't found something foolproof yet. Anyone know of such a tool? Basically, I want a "live" copy of a website, as-is in that moment. Not just the HTML but the actual DOM tree.
You can get the raw response by accessing the Getsy's .content property.
> I want a "live" copy of a website
You mean after the JS has modified it?
Example here: http://www.getgetsy.com
I'm updating it soon with new methods that support websites with pagination.