pull/1879/head
kunfei 2 years ago
parent 24f9c7e193
commit d4761bd992
  1. 1654
      app/schemas/io.legado.app.data.AppDatabase/49.json
  2. 4
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt

File diff suppressed because it is too large Load Diff

@ -528,8 +528,10 @@ class AnalyzeUrl(
val domain = NetworkUtils.getSubDomain(tag ?: url)
//书源启用保存cookie时 添加内存中的cookie到数据库
if (enabledCookieJar) {
CacheManager.getFromMemory("${domain}_cookieJar")?.let {
val key = "${domain}_cookieJar"
CacheManager.getFromMemory(key)?.let {
CookieStore.replaceCookie(domain, it)
CacheManager.deleteMemory(key)
}
}
val cookie = CookieStore.getCookie(domain)

Loading…
Cancel
Save