Bentomanga fix chapters (#17057)
* Exclude url with style='display:none' who breaks everything * Update gradle version
This commit is contained in:
parent
93bc84108c
commit
28f5a08ac7
|
@ -6,7 +6,7 @@ ext {
|
|||
extName = 'Bento Manga'
|
||||
pkgNameSuffix = 'fr.japanread'
|
||||
extClass = '.BentoManga'
|
||||
extVersionCode = 14
|
||||
extVersionCode = 15
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -193,7 +193,7 @@ class BentoManga : ParsedHttpSource(), ConfigurableSource {
|
|||
override fun chapterFromElement(element: Element): SChapter {
|
||||
return SChapter.create().apply {
|
||||
name = element.select("div.component-chapter-title a span.chapter_volume").text()
|
||||
setUrlWithoutDomain(element.select("div.component-chapter-title a").attr("href"))
|
||||
setUrlWithoutDomain(element.select("div.component-chapter-title a:not([style*='display:none'])").attr("href"))
|
||||
date_upload = parseRelativeDate(element.select("div.component-chapter-date").text())
|
||||
scanlator = element.select("div.component-chapter-teams a span").joinToString(" + ") { it.text() }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue