diff --git a/app/build.gradle b/app/build.gradle index 744003c..ae785f4 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,8 +8,8 @@ android { applicationId "com.jsoft.jcomic" minSdkVersion 21 targetSdkVersion 31 - versionCode 20190515 - versionName "3.5" + versionCode 20230330 + versionName "4.8" } buildTypes { release { diff --git a/app/src/main/java/com/jsoft/jcomic/praser/ComicVIPBookParser.kt b/app/src/main/java/com/jsoft/jcomic/praser/ComicVIPBookParser.kt index 2c51d64..324e1b3 100644 --- a/app/src/main/java/com/jsoft/jcomic/praser/ComicVIPBookParser.kt +++ b/app/src/main/java/com/jsoft/jcomic/praser/ComicVIPBookParser.kt @@ -37,7 +37,7 @@ class ComicVIPBookParser(book: BookDTO, listener: BookParserListener) : BookPars } - p = Pattern.compile(".*

(.+?)

.*") + p = Pattern.compile(".*
(.+?)
.*") m = p.matcher(s) if (m.matches()) { val bookTitle = m.group(1).replace(" ", " ").replace("<.*?>".toRegex(), "") @@ -53,7 +53,7 @@ class ComicVIPBookParser(book: BookDTO, listener: BookParserListener) : BookPars book.bookSynopsis = bookSynopsis } - p = Pattern.compile(".*
.*.*") + p = Pattern.compile(".*
  • .*.*") m = p.matcher(s) if (m.matches()) { book.bookImgUrl = "https://m.comicbus.com" + m.group(1)