pull/48/head
kunfei 5 years ago
parent f95f11857b
commit f2dfbe391b
  1. 2
      app/src/main/java/io/legado/app/model/Rss.kt

@ -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()
} }

Loading…
Cancel
Save