浏览代码

Update regexp for pages from Readmanga/Mintmanga (#1111)

Taumer 7 年之前
父节点
当前提交
8f9737f567

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/source/online/russian/Mintmanga.kt

@@ -118,7 +118,7 @@ class Mintmanga : ParsedHttpSource() {
         val endIndex = html.indexOf("], 0, false);", beginIndex)
         val trimmedHtml = html.substring(beginIndex, endIndex)
 
-        val p = Pattern.compile("'.+?','.+?',\".+?\"")
+        val p = Pattern.compile("'.*?','.*?',\".*?\"")
         val m = p.matcher(trimmedHtml)
 
         val pages = mutableListOf<Page>()

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/source/online/russian/Readmanga.kt

@@ -118,7 +118,7 @@ class Readmanga : ParsedHttpSource() {
         val endIndex = html.indexOf("], 0, false);", beginIndex)
         val trimmedHtml = html.substring(beginIndex, endIndex)
 
-        val p = Pattern.compile("'.+?','.+?',\".+?\"")
+        val p = Pattern.compile("'.*?','.*?',\".*?\"")
         val m = p.matcher(trimmedHtml)
 
         val pages = mutableListOf<Page>()