Skip to content

//tvlib/org.mjdev.tvlib.webscrapper.base

Package-level declarations

Types

Name Summary
CustomChromeClient [androidJvm]
class CustomChromeClient(val context: Context, val userAgent: String = "Mozilla/5.0 (X11; Linux x86_64) " + "AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36", popupEnabled: Boolean = true, onError: (Exception) -> Unit = { e -> Timber.e(e) }, onIconReceived: (Bitmap?) -> Unit? = null, onTitleReceived: (String?) -> Unit? = null, onProgress: (Int) -> Unit? = null) : WebChromeClient
CustomWebView [androidJvm]
class CustomWebView(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0, userAgent: String = "Mozilla/5.0 (X11; Linux x86_64) " + "AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36", adBlocker: IAdBlocker = NoAdBlock(), val onError: CustomWebView.(Throwable) -> Unit = { e -> Timber.e(e) }, onIconReceived: CustomWebView.(Bitmap?) -> Unit? = null, onTitleReceived: CustomWebView.(String?) -> Unit? = null, onProgress: CustomWebView.(Int) -> Unit? = null, onPageLoadStart: CustomWebView.() -> Unit? = null, onPageLoadFinish: CustomWebView.() -> Unit? = null, onUnhandledKey: CustomWebView.(event: KeyEvent?) -> Boolean? = null, maxScriptDelay: Long = 5 * 60 * 1000, loadImages: Boolean = true, loadScripts: Boolean = true, loadMedia: Boolean = true, loadCssStyles: Boolean = true, loadFonts: Boolean = true) : WebView
CustomWebViewClient [androidJvm]
class CustomWebViewClient(loadImages: Boolean = true, loadScripts: Boolean = true, loadMedia: Boolean = true, loadCssStyles: Boolean = true, loadFonts: Boolean = true, adBlocker: IAdBlocker = NoAdBlock(), onError: (Exception) -> Unit = { e -> Timber.e(e) }, onPageLoadStart: () -> Unit? = null, onPageLoadFinish: () -> Unit? = null) : WebViewClient
ExceededDatabaseQuota [androidJvm]
class ExceededDatabaseQuota : Exception
JSAlert [androidJvm]
class JSAlert(message: String? = null) : Exception
JSMessage [androidJvm]
class JSMessage(message: String?, lineNumber: Int, sourceID: String?) : Exception
JSTimeoutException [androidJvm]
class JSTimeoutException(message: String? = null) : Exception
ReceivedError [androidJvm]
class ReceivedError(message: String? = null) : Exception
ScrapeLink [androidJvm]
data class ScrapeLink(val url: String = "", val title: String? = "", val thumbUrl: String? = null, val parentLink: ScrapeLink? = null)
ScrapeScope [androidJvm]
data class ScrapeScope(val url: ScrapeLink? = null, val title: String = "", val error: Throwable? = null, val document: Doc? = null, val videos: List<DocElement> = emptyList(), val audios: List<DocElement> = emptyList(), val anchors: List<DocElement> = emptyList())
SSLError [androidJvm]
class SSLError(message: String? = null) : Exception