Update MangaLoaderContext

This commit is contained in:
2025-05-10 13:33:11 +03:00
parent 409828d22f
commit 9408b9ba1b

View File

@@ -38,9 +38,9 @@ public abstract class MangaLoaderContext {
public abstract suspend fun evaluateJs(script: String): String?
/**
* Open [url] in browser and return data from storage
* Open [url] in browser for some external action (e.g. captcha solving or non cookie-based authorization)
*/
public open suspend fun requestBrowserAction(url: String) {
public open fun requestBrowserAction(parser: MangaParser, url: String): Nothing {
throw UnsupportedOperationException("Browser is not available")
}