[nhentai] fix open in browser issue (closes issue #709)
This commit is contained in:
parent
a90981edd4
commit
2ac138a79a
@ -5,7 +5,7 @@ ext {
|
|||||||
appName = 'Tachiyomi: nhentai'
|
appName = 'Tachiyomi: nhentai'
|
||||||
pkgNameSuffix = 'all.nhentai'
|
pkgNameSuffix = 'all.nhentai'
|
||||||
extClass = '.NHJapanese; .NHEnglish; .NHChinese; .NHSpeechless; .NHCzech; .NHEsperanto; .NHMongolian; .NHSlovak; .NHArabic; .NHUkrainian'
|
extClass = '.NHJapanese; .NHEnglish; .NHChinese; .NHSpeechless; .NHCzech; .NHEsperanto; .NHMongolian; .NHSlovak; .NHArabic; .NHUkrainian'
|
||||||
extVersionCode = 2
|
extVersionCode = 3
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ open class NHentai(override val lang: String, val nhLang: String) : HttpSource()
|
|||||||
mangaDetailsParse(response).apply { initialized = true }
|
mangaDetailsParse(response).apply { initialized = true }
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun mangaDetailsRequest(manga: SManga) = nhGet(manga.url)
|
override fun mangaDetailsRequest(manga: SManga) = nhGet( baseUrl + manga.url )
|
||||||
|
|
||||||
fun urlToDetailsRequest(url: String) = nhGet("$baseUrl/api/gallery/${url.substringAfterLast('/')}")
|
fun urlToDetailsRequest(url: String) = nhGet("$baseUrl/api/gallery/${url.substringAfterLast('/')}")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user