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