UrlAnalyzer

Functions

Link copied to clipboard
fun extractTextFromHTML(url: String, cssSelector: String): String?

Extracts a specific element's text from a URL based on a CSS selector.

Link copied to clipboard
fun validateUrl(url: String, findText: String): Boolean

Validates the content of a URL by checking if it contains a specific text.