|
|
@ -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 |
|
|
|