From 8f9737f567a29a32495141b13a7391ca927b088c Mon Sep 17 00:00:00 2001 From: Taumer Date: Tue, 5 Dec 2017 23:21:02 +0300 Subject: [PATCH] Update regexp for pages from Readmanga/Mintmanga (#1111) --- .../java/eu/kanade/tachiyomi/source/online/russian/Mintmanga.kt | 2 +- .../java/eu/kanade/tachiyomi/source/online/russian/Readmanga.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/source/online/russian/Mintmanga.kt b/app/src/main/java/eu/kanade/tachiyomi/source/online/russian/Mintmanga.kt index dbaa49fd7..dd1a765ad 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/source/online/russian/Mintmanga.kt +++ b/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() diff --git a/app/src/main/java/eu/kanade/tachiyomi/source/online/russian/Readmanga.kt b/app/src/main/java/eu/kanade/tachiyomi/source/online/russian/Readmanga.kt index 4bc3383d6..296ccc666 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/source/online/russian/Readmanga.kt +++ b/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()