mirror of
https://github.com/gedoor/legado.git
synced 2024-07-04 23:36:56 +08:00
Update AnalyzeByJSoup.kt
This commit is contained in:
parent
ed65514173
commit
90019dd356
|
@ -375,11 +375,12 @@ class AnalyzeByJSoup(doc: Any) {
|
|||
* 根据索引集合筛选元素
|
||||
* */
|
||||
if (split == '!') { //排除
|
||||
|
||||
/*
|
||||
for (pcInt in indexSet) elements[pcInt] = null
|
||||
|
||||
elements.removeAll(nullSet) //测试过,这样就行
|
||||
|
||||
*/
|
||||
for (pcInt in indexSet) elements[pcInt].remove()
|
||||
} else if (split == '.') { //选择
|
||||
|
||||
val es = Elements()
|
||||
|
|
Loading…
Reference in New Issue
Block a user