mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
fix:java.ajax 正文图片的缺省headers的优先级:书源>全局
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user