diff --git a/src/ko/newtoki/build.gradle b/src/ko/newtoki/build.gradle index 92e0aaf13..215e2a092 100644 --- a/src/ko/newtoki/build.gradle +++ b/src/ko/newtoki/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'NewToki / ManaToki' extClass = '.TokiFactory' - extVersionCode = 29 + extVersionCode = 30 isNsfw = true } diff --git a/src/ko/newtoki/src/eu/kanade/tachiyomi/extension/ko/newtoki/NewToki.kt b/src/ko/newtoki/src/eu/kanade/tachiyomi/extension/ko/newtoki/NewToki.kt index 319575b2e..5edb4bc39 100644 --- a/src/ko/newtoki/src/eu/kanade/tachiyomi/extension/ko/newtoki/NewToki.kt +++ b/src/ko/newtoki/src/eu/kanade/tachiyomi/extension/ko/newtoki/NewToki.kt @@ -48,6 +48,9 @@ abstract class NewToki( .connectTimeout(10, TimeUnit.SECONDS) // fail fast .build() + override fun headersBuilder() = super.headersBuilder() + .add("Referer", "$baseUrl/") + override fun popularMangaSelector() = "div#webtoon-list > ul > li" override fun popularMangaFromElement(element: Element): SManga {