pull/63/head
kunfei 5 years ago
parent 4568b39af1
commit 6f20ed67e7
  1. 4
      app/src/main/java/io/legado/app/model/rss/RssParser.kt

@ -122,9 +122,9 @@ object RssParser {
if (matcherImg.find()) { if (matcherImg.find()) {
val imgTag = matcherImg.group(1) val imgTag = matcherImg.group(1)
val patternLink = "src\\s*=\\s*\"(.+?)\"".toPattern() val patternLink = "src\\s*=\\s*\"(.+?)\"".toPattern()
val matcherLink = patternLink.matcher(imgTag) val matcherLink = patternLink.matcher(imgTag!!)
if (matcherLink.find()) { if (matcherLink.find()) {
url = matcherLink.group(1).trim() url = matcherLink.group(1)!!.trim()
} }
} }
return url return url

Loading…
Cancel
Save