Remove duplicates $baseUrl (#14621)
This commit is contained in:
parent
df8f6857f9
commit
cfaf6dc3a3
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'HentaiVN'
|
||||
pkgNameSuffix = 'vi.hentaivn'
|
||||
extClass = '.HentaiVN'
|
||||
extVersionCode = 18
|
||||
extVersionCode = 19
|
||||
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 searchMangaByIdParse(response: Response, ids: String): MangasPage {
|
||||
val details = mangaDetailsParse(response)
|
||||
details.url = "$baseUrl/$ids-doc-truyen-id.html"
|
||||
details.url = "/$ids-doc-truyen-id.html"
|
||||
return MangasPage(listOf(details), false)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue