fix:java.ajax 正文图片的缺省headers的优先级:书源>全局

pull/1766/head
Xwite 3 years ago
parent 00bbc0b824
commit 27c31bf0c0
  1. 2
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt

@ -73,7 +73,7 @@ class AnalyzeUrl(
init {
val urlMatcher = paramPattern.matcher(baseUrl)
if (urlMatcher.find()) baseUrl = baseUrl.substring(0, urlMatcher.start())
headerMapF?.let {
(headerMapF ?: source?.getHeaderMap(true))?.let {
headerMap.putAll(it)
if (it.containsKey("proxy")) {
proxy = it["proxy"]

Loading…
Cancel
Save