We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7378c7 commit 58ede70Copy full SHA for 58ede70
Kinoger/src/main/kotlin/com/ne1work/Kinoger.kt
@@ -79,7 +79,7 @@ class Kinoger : MainAPI() {
79
80
val scripts = document.select("script").mapNotNull { script ->
81
val scriptContent = script.data()
82
- 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*\)""")
83
val match = showPattern.find(scriptContent)
84
match?.groupValues?.get(1)?.replace("'", "\"")
85
}
0 commit comments