Remove duplicates $baseUrl (#14621)
This commit is contained in:
parent
df8f6857f9
commit
cfaf6dc3a3
@ -5,7 +5,7 @@ ext {
|
|||||||
extName = 'HentaiVN'
|
extName = 'HentaiVN'
|
||||||
pkgNameSuffix = 'vi.hentaivn'
|
pkgNameSuffix = 'vi.hentaivn'
|
||||||
extClass = '.HentaiVN'
|
extClass = '.HentaiVN'
|
||||||
extVersionCode = 18
|
extVersionCode = 19
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -167,7 +167,7 @@ class HentaiVN : ParsedHttpSource() {
|
|||||||
private fun searchMangaByIdRequest(id: String) = GET("$baseUrl/tim-kiem-truyen.html?key=$id", headers)
|
private fun searchMangaByIdRequest(id: String) = GET("$baseUrl/tim-kiem-truyen.html?key=$id", headers)
|
||||||
private fun searchMangaByIdParse(response: Response, ids: String): MangasPage {
|
private fun searchMangaByIdParse(response: Response, ids: String): MangasPage {
|
||||||
val details = mangaDetailsParse(response)
|
val details = mangaDetailsParse(response)
|
||||||
details.url = "$baseUrl/$ids-doc-truyen-id.html"
|
details.url = "/$ids-doc-truyen-id.html"
|
||||||
return MangasPage(listOf(details), false)
|
return MangasPage(listOf(details), false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user