BlogTruyen - fix search (#2569)
This commit is contained in:
parent
b0255f9325
commit
611f8c6240
|
@ -5,7 +5,7 @@ ext {
|
|||
appName = 'Tachiyomi: BlogTruyen'
|
||||
pkgNameSuffix = 'vi.blogtruyen'
|
||||
extClass = '.BlogTruyen'
|
||||
extVersionCode = 7
|
||||
extVersionCode = 8
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -116,10 +116,16 @@ class BlogTruyen : ParsedHttpSource() {
|
|||
return GET(url.toString().replace("m.", ""), headers)
|
||||
}
|
||||
|
||||
override fun searchMangaSelector() = "div.list > p:gt(0) > span:eq(0)"
|
||||
override fun searchMangaSelector() = "div.list > p:has(a)"
|
||||
|
||||
override fun searchMangaFromElement(element: Element): SManga {
|
||||
return popularMangaFromElement(element)
|
||||
return SManga.create().apply {
|
||||
element.select("a").let {
|
||||
setUrlWithoutDomain(it.attr("href"))
|
||||
title = it.text()
|
||||
}
|
||||
thumbnail_url = element.nextElementSibling().select("img").attr("abs:src")
|
||||
}
|
||||
}
|
||||
|
||||
override fun searchMangaNextPageSelector() = "ul.pagination i.glyphicon.glyphicon-step-forward.red"
|
||||
|
|
Loading…
Reference in New Issue