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:
happywillow0 2022-08-25 22:21:32 -04:00 committed by GitHub
parent 3fc3a8261d
commit 94eb7f2b16
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 = 'EarlyManga'
pkgNameSuffix = 'en.earlymanga'
extClass = '.EarlyManga'
extVersionCode = 18
extVersionCode = 19
}
apply from: "$rootDir/common.gradle"

View File

@ -82,7 +82,7 @@ class EarlyManga : ParsedHttpSource() {
override fun searchMangaFromElement(element: Element): SManga {
val manga = SManga.create()
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")
return manga
}