Skip to content

web video scrapper

milan jurkulák edited this page May 2, 2024 · 1 revision

//tvlib/org.mjdev.tvlib.webscrapper/WebVideoScrapper/WebVideoScrapper

WebVideoScrapper

[androidJvm]
constructor(context: Context, loadImages: Boolean = false, loadMedia: Boolean = false, loadScripts: Boolean = false, loadCssStyles: Boolean = false, loadFonts: Boolean = false, isNsfw: Boolean = false, parseUrls: List<String>, parsedLinks: List<ScrapeLink> = emptyList(), userAgent: String = USER_AGENT, onVideoFound: suspend WebVideoScrapper.(video: WebVideoScrapper.Video) -> Unit? = null, onAudioFound: suspend WebVideoScrapper.(audio: WebVideoScrapper.Audio) -> Unit? = null, onNoVideoFound: suspend WebVideoScrapper.(link: ScrapeLink) -> Unit? = null, onNoAudioFound: suspend WebVideoScrapper.(link: ScrapeLink) -> Unit? = null, onLinkParsed: suspend WebVideoScrapper.(link: ScrapeLink) -> Unit? = null, onFinish: suspend WebVideoScrapper.() -> Unit? = null, addBlocker: IAdBlocker = NoAdBlock(), pauseState: MutableState<Boolean> = mutableStateOf(false))

Clone this wiki locally