|
|
@ -19,7 +19,7 @@ object Rss { |
|
|
|
return Coroutine.async(scope, context) { |
|
|
|
return Coroutine.async(scope, context) { |
|
|
|
val analyzeUrl = AnalyzeUrl(rssSource.sourceUrl) |
|
|
|
val analyzeUrl = AnalyzeUrl(rssSource.sourceUrl) |
|
|
|
val body = if (analyzeUrl.useWebView) { |
|
|
|
val body = if (analyzeUrl.useWebView) { |
|
|
|
analyzeUrl.getResultByWebView(rssSource.sourceUrl) |
|
|
|
analyzeUrl.getResultByWebView(rssSource.sourceUrl).content |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
analyzeUrl.getResponseAwait().body() |
|
|
|
analyzeUrl.getResponseAwait().body() |
|
|
|
} |
|
|
|
} |
|
|
|