|
|
@ -541,6 +541,8 @@ class AnalyzeUrl( |
|
|
|
fun getGlideUrl(): GlideUrl { |
|
|
|
fun getGlideUrl(): GlideUrl { |
|
|
|
setCookie(source?.getKey()) |
|
|
|
setCookie(source?.getKey()) |
|
|
|
val headers = LazyHeaders.Builder() |
|
|
|
val headers = LazyHeaders.Builder() |
|
|
|
|
|
|
|
//删除glide默认ua |
|
|
|
|
|
|
|
headers.setHeader(UA_NAME, null as String?) |
|
|
|
headerMap.forEach { (key, value) -> |
|
|
|
headerMap.forEach { (key, value) -> |
|
|
|
headers.addHeader(key, value) |
|
|
|
headers.addHeader(key, value) |
|
|
|
} |
|
|
|
} |
|
|
|