diff --git a/src/en/mangarock/build.gradle b/src/en/mangarock/build.gradle index 21e3c13dc..1f09b8489 100644 --- a/src/en/mangarock/build.gradle +++ b/src/en/mangarock/build.gradle @@ -5,7 +5,7 @@ ext { appName = 'Tachiyomi: Manga Rock' pkgNameSuffix = 'en.mangarock' extClass = '.MangaRock' - extVersionCode = 10 + extVersionCode = 11 libVersion = '1.2' } diff --git a/src/en/mangarock/src/eu/kanade/tachiyomi/extension/en/mangarock/MangaRock.kt b/src/en/mangarock/src/eu/kanade/tachiyomi/extension/en/mangarock/MangaRock.kt index c7532a382..d0ad772cf 100644 --- a/src/en/mangarock/src/eu/kanade/tachiyomi/extension/en/mangarock/MangaRock.kt +++ b/src/en/mangarock/src/eu/kanade/tachiyomi/extension/en/mangarock/MangaRock.kt @@ -188,11 +188,11 @@ class MangaRock : HttpSource() { private fun getMangaApiRequest(manga: SManga): Request { // Handle older entries with API URL ("/info?oid=mrs-series-...") if (manga.url.startsWith("/info")) { - return GET(apiUrl + manga.url, headers) + return GET("$apiUrl${manga.url}&country=", headers) } val oid = manga.url.substringAfterLast("/") - return GET("$apiUrl/info?oid=$oid", headers) + return GET("$apiUrl/info?oid=$oid&country=", headers) } override fun mangaDetailsParse(response: Response) = SManga.create().apply {