diff --git a/src/all/hentaiera/build.gradle b/src/all/hentaiera/build.gradle index ea9c400d2..685a01bc1 100644 --- a/src/all/hentaiera/build.gradle +++ b/src/all/hentaiera/build.gradle @@ -3,7 +3,7 @@ ext { extClass = '.HentaiEraFactory' themePkg = 'galleryadults' baseUrl = 'https://hentaiera.com' - overrideVersionCode = 0 + overrideVersionCode = 1 isNsfw = true } diff --git a/src/all/hentaiera/src/eu/kanade/tachiyomi/extension/all/hentaiera/HentaiEra.kt b/src/all/hentaiera/src/eu/kanade/tachiyomi/extension/all/hentaiera/HentaiEra.kt index a4f53302f..80c181496 100644 --- a/src/all/hentaiera/src/eu/kanade/tachiyomi/extension/all/hentaiera/HentaiEra.kt +++ b/src/all/hentaiera/src/eu/kanade/tachiyomi/extension/all/hentaiera/HentaiEra.kt @@ -38,7 +38,7 @@ class HentaiEra( override fun popularMangaRequest(page: Int): Request { // Only for query string or multiple tags - val url = "$baseUrl/search".toHttpUrl().newBuilder().apply { + val url = "$baseUrl/search/".toHttpUrl().newBuilder().apply { addQueryParameter("pp", "1") getLanguageURIs().forEach { pair -> @@ -50,7 +50,8 @@ class HentaiEra( addPageUri(page) } - return GET(url.build()) + + return GET(url.build(), headers) } /* Details */