From d14168e3251d24b0c2ca94e807ffc6d22114e0f0 Mon Sep 17 00:00:00 2001 From: Koitharu Date: Mon, 6 Feb 2023 18:06:14 +0200 Subject: [PATCH] Make headers accessible --- src/main/kotlin/org/koitharu/kotatsu/parsers/MangaParser.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/kotlin/org/koitharu/kotatsu/parsers/MangaParser.kt b/src/main/kotlin/org/koitharu/kotatsu/parsers/MangaParser.kt index 0c2bc8fdf..3d4047cda 100644 --- a/src/main/kotlin/org/koitharu/kotatsu/parsers/MangaParser.kt +++ b/src/main/kotlin/org/koitharu/kotatsu/parsers/MangaParser.kt @@ -1,7 +1,6 @@ package org.koitharu.kotatsu.parsers import androidx.annotation.CallSuper -import androidx.annotation.VisibleForTesting import okhttp3.Headers import okhttp3.HttpUrl import org.jsoup.nodes.Element @@ -35,8 +34,7 @@ abstract class MangaParser @InternalParsersApi constructor(val source: MangaSour */ protected abstract val configKeyDomain: ConfigKey.Domain - @VisibleForTesting(otherwise = VisibleForTesting.PROTECTED) - internal open val headers: Headers? = null + open val headers: Headers? = null /** * Used as fallback if value of `sortOrder` passed to [getList] is null