How can i scrape sites in scriptable?

Parsing HTML with RegExp might work in some cases. Generally, REs are not the right tool for this task:

and not only because of dynamically generated content.