[Toomics] Filter out 'free in app' chapters (#2008)
[Toomics] Filter out 'free in app' chapters
This commit is contained in:
parent
02ef81fef9
commit
eb78997ec1
|
@ -5,7 +5,7 @@ ext {
|
|||
appName = 'Tachiyomi: Toomics'
|
||||
pkgNameSuffix = 'all.toomics'
|
||||
extClass = '.ToomicsFactory'
|
||||
extVersionCode = 1
|
||||
extVersionCode = 2
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@ abstract class ToomicsGlobal(private val siteLang: String,
|
|||
.map { it.reversed() }
|
||||
}
|
||||
|
||||
override fun chapterListSelector(): String = "section.ep-body ol.list-ep li.normal_ep a:not([onclick*='login'])"
|
||||
override fun chapterListSelector(): String = "section.ep-body ol.list-ep li.normal_ep a:not([onclick*='login']):not([onclick*='free_in_app'])"
|
||||
|
||||
override fun chapterFromElement(element: Element): SChapter = SChapter.create().apply {
|
||||
val num = element.select("div.cell-num span.num").text()
|
||||
|
|
Loading…
Reference in New Issue