mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-11 21:20:50 +01:00
Using title instead of text for Mangahere titles (#591)
Fixes #571 The text on the popular manga page of Mangahere contains escaped HTML characters. The title attributes of the links do not contain them.
This commit is contained in:
parent
d21a93123b
commit
2241a0b2de
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ class Mangahere(override val id: Int) : ParsedOnlineSource() {
|
||||||
override fun popularMangaFromElement(element: Element, manga: Manga) {
|
override fun popularMangaFromElement(element: Element, manga: Manga) {
|
||||||
element.select("div.title > a").first().let {
|
element.select("div.title > a").first().let {
|
||||||
manga.setUrlWithoutDomain(it.attr("href"))
|
manga.setUrlWithoutDomain(it.attr("href"))
|
||||||
manga.title = it.text()
|
manga.title = it.attr("title")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ class Mangahere(override val id: Int) : ParsedOnlineSource() {
|
||||||
override fun searchMangaFromElement(element: Element, manga: Manga) {
|
override fun searchMangaFromElement(element: Element, manga: Manga) {
|
||||||
element.select("a.manga_info").first().let {
|
element.select("a.manga_info").first().let {
|
||||||
manga.setUrlWithoutDomain(it.attr("href"))
|
manga.setUrlWithoutDomain(it.attr("href"))
|
||||||
manga.title = it.text()
|
manga.title = it.attr("title")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue