Document.fromUrl

Document fromUrl()(string url, bool strictMode = false) static

Convenience method for web scraping. Requires arsd.http2 to be included in the build as well as arsd.characterencodings.

This will download the file from the given url and create a document off it, using a strict constructor or a [parseGarbage], depending on the value of strictMode.