parseGetRequest

suspend fun Ksoup.parseGetRequest(url: String, httpRequestBuilder: HttpRequestBuilder.() -> Unit = {}, parser: Parser = Parser.htmlParser()): Document

Use to fetch and parse a HTML page.

Use examples:

  • Document doc = Ksoup.parseGetRequest("http://example.com")

Return

sane HTML

Parameters

url

URL to connect to. The protocol must be http or https.