-
Notifications
You must be signed in to change notification settings - Fork 0
web video scrapper
//tvlib/org.mjdev.tvlib.webscrapper/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))