Remove duplicates $baseUrl (#14621)

This commit is contained in:
are-are-are 2022-12-20 23:43:26 +07:00 committed by GitHub
parent df8f6857f9
commit cfaf6dc3a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'HentaiVN'
pkgNameSuffix = 'vi.hentaivn'
extClass = '.HentaiVN'
extVersionCode = 18
extVersionCode = 19
isNsfw = true
}

View File

@ -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)
}