parent
f4d1f0d244
commit
ceb953ff96
|
@ -1,7 +1,7 @@
|
||||||
ext {
|
ext {
|
||||||
extName = 'Hattori Manga'
|
extName = 'Hattori Manga'
|
||||||
extClass = '.HattoriManga'
|
extClass = '.HattoriManga'
|
||||||
extVersionCode = 37
|
extVersionCode = 38
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -207,7 +207,7 @@ class HattoriManga : HttpSource() {
|
||||||
override fun fetchSearchManga(page: Int, query: String, filters: FilterList): Observable<MangasPage> {
|
override fun fetchSearchManga(page: Int, query: String, filters: FilterList): Observable<MangasPage> {
|
||||||
if (query.startsWith(SEARCH_PREFIX)) {
|
if (query.startsWith(SEARCH_PREFIX)) {
|
||||||
val slug = query.removePrefix(SEARCH_PREFIX)
|
val slug = query.removePrefix(SEARCH_PREFIX)
|
||||||
return client.newCall(GET("$baseUrl/$slug", headers))
|
return client.newCall(GET("$baseUrl/manga/$slug", headers))
|
||||||
.asObservableSuccess()
|
.asObservableSuccess()
|
||||||
.map {
|
.map {
|
||||||
MangasPage(listOf(mangaDetailsParse(it)), false)
|
MangasPage(listOf(mangaDetailsParse(it)), false)
|
||||||
|
|
Loading…
Reference in New Issue