Update MangaLoaderContext
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user