Fix EarlyManga (#13197)
Fixes 13189 * Uses different selector for manga title in search. OP found the one manga without a flag.
This commit is contained in:
parent
3fc3a8261d
commit
94eb7f2b16
|
@ -5,7 +5,7 @@ ext {
|
||||||
extName = 'EarlyManga'
|
extName = 'EarlyManga'
|
||||||
pkgNameSuffix = 'en.earlymanga'
|
pkgNameSuffix = 'en.earlymanga'
|
||||||
extClass = '.EarlyManga'
|
extClass = '.EarlyManga'
|
||||||
extVersionCode = 18
|
extVersionCode = 19
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
|
|
@ -82,7 +82,7 @@ class EarlyManga : ParsedHttpSource() {
|
||||||
override fun searchMangaFromElement(element: Element): SManga {
|
override fun searchMangaFromElement(element: Element): SManga {
|
||||||
val manga = SManga.create()
|
val manga = SManga.create()
|
||||||
manga.url = element.select("a").attr("abs:href").substringAfter(baseUrl)
|
manga.url = element.select("a").attr("abs:href").substringAfter(baseUrl)
|
||||||
manga.title = element.select("div:has(.flag)+a").attr("title")
|
manga.title = element.select("a.manga_title").attr("title")
|
||||||
manga.thumbnail_url = element.select("a img").attr("abs:src")
|
manga.thumbnail_url = element.select("a img").attr("abs:src")
|
||||||
return manga
|
return manga
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue