parsePostRequest

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

Use to fetch and parse a HTML page.

Use examples:

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

Return

sane HTML

Parameters

url

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