Japscan: update chapter data selector (#3275)
This commit is contained in:
parent
b335be2148
commit
be806a0771
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'Japscan'
|
extName = 'Japscan'
|
||||||
extClass = '.Japscan'
|
extClass = '.Japscan'
|
||||||
extVersionCode = 45
|
extVersionCode = 46
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
@ -230,7 +230,7 @@ class Japscan : ConfigurableSource, ParsedHttpSource() {
|
|||||||
val interfaceName = randomString()
|
val interfaceName = randomString()
|
||||||
val zjsElement = document.selectFirst("script[src*=/zjs/]")
|
val zjsElement = document.selectFirst("script[src*=/zjs/]")
|
||||||
?: throw Exception("ZJS not found")
|
?: throw Exception("ZJS not found")
|
||||||
val dataElement = document.selectFirst("#data")
|
val dataElement = document.selectFirst("[id^=data]")
|
||||||
?: throw Exception("Chapter data not found")
|
?: throw Exception("Chapter data not found")
|
||||||
val minDoc = Document.createShell(document.location())
|
val minDoc = Document.createShell(document.location())
|
||||||
val minDocBody = minDoc.body()
|
val minDocBody = minDoc.body()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user