Skip to content

Commit

Permalink
13
Browse files Browse the repository at this point in the history
  • Loading branch information
ne1work authored Jul 26, 2024
1 parent b7378c7 commit 58ede70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Kinoger/src/main/kotlin/com/ne1work/Kinoger.kt
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class Kinoger : MainAPI() {

val scripts = document.select("script").mapNotNull { script ->
val scriptContent = script.data()
val showPattern = Regex("""show\s*\(\s*\d+\s*,\s*(\[\[.*?\]\])\s*,\s*0\.2\s*\)""")
val showPattern = Regex("""show\s*\(\s*\d+\s*,\s*(\[\[.*?\]\])\s*(,\s*.*?)*\s*\)""")
val match = showPattern.find(scriptContent)
match?.groupValues?.get(1)?.replace("'", "\"")
}
Expand Down

0 comments on commit 58ede70

Please sign in to comment.