HattoriManga: Fix deep linking (#3147)

Fix deep linking
This commit is contained in:
Chopper 2024-05-20 07:56:18 -03:00 committed by Draff
parent f4d1f0d244
commit ceb953ff96
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'Hattori Manga'
extClass = '.HattoriManga'
extVersionCode = 37
extVersionCode = 38
isNsfw = true
}

View File

@ -207,7 +207,7 @@ class HattoriManga : HttpSource() {
override fun fetchSearchManga(page: Int, query: String, filters: FilterList): Observable<MangasPage> {
if (query.startsWith(SEARCH_PREFIX)) {
val slug = query.removePrefix(SEARCH_PREFIX)
return client.newCall(GET("$baseUrl/$slug", headers))
return client.newCall(GET("$baseUrl/manga/$slug", headers))
.asObservableSuccess()
.map {
MangasPage(listOf(mangaDetailsParse(it)), false)