Japscan fix resources URL (#12714)
* Update build.gradle update graddle version * Update Japscan.kt update ressources URL prefix
This commit is contained in:
parent
5e6acd100c
commit
996513d0e3
|
@ -6,7 +6,7 @@ ext {
|
|||
extName = 'Japscan'
|
||||
pkgNameSuffix = 'fr.japscan'
|
||||
extClass = '.Japscan'
|
||||
extVersionCode = 30
|
||||
extVersionCode = 31
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
|
@ -379,7 +379,7 @@ class Japscan : ConfigurableSource, ParsedHttpSource() {
|
|||
view: WebView,
|
||||
request: WebResourceRequest
|
||||
): WebResourceResponse? {
|
||||
if (request.url.toString().startsWith("https://c.japscan.ws/") && !checkNew.contains(request.url.toString())) {
|
||||
if (request.url.toString().startsWith("https://cdn.statically.io/img/c.japscan.ws/") && !checkNew.contains(request.url.toString())) {
|
||||
checkNew.add(request.url.toString())
|
||||
pages.add(Page(pages.size, "", request.url.toString()))
|
||||
Log.d("japscan", "intercepted ${request.url}")
|
||||
|
|
Loading…
Reference in New Issue