Skip to content

Commit

Permalink
LeerCapitulo: Fix unable to find the script (#7379)
Browse files Browse the repository at this point in the history
fix selector
  • Loading branch information
dngonz authored Jan 28, 2025
1 parent 6fe6e5d commit 30052a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/es/leercapitulo/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ext {
extName = 'LeerCapitulo'
extClass = '.LeerCapitulo'
extVersionCode = 10
extVersionCode = 11
}

apply from: "$rootDir/common.gradle"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class LeerCapitulo : ParsedHttpSource() {

val arrayData = document.selectFirst("#array_data")!!.text()

val scripts = document.select("head > script[src^=/assets/][src$=.js]").map { it.attr("abs:src") }.reversed().toMutableList()
val scripts = document.select("head > script[src^=/assets/][src*=.js]").map { it.attr("abs:src") }.reversed().toMutableList()

var dataScript: String? = null

Expand Down

0 comments on commit 30052a1

Please sign in to comment.