Fix paper search
This commit is contained in:
parent
cebc9fe82b
commit
600e64535c
|
|
@ -46,7 +46,7 @@ public class Paper extends Spider {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void init(Context context, String extend) {
|
public void init(Context context, String extend) {
|
||||||
types = new ArrayList<>();
|
types = Arrays.asList("hyds", "rhds", "omds", "qtds", "hydy", "rhdy", "omdy", "qtdy", "hydm", "rhdm", "omdm", "jlp", "zyp", "jypx", "qtsp");
|
||||||
ali = new Ali(extend);
|
ali = new Ali(extend);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -67,7 +67,6 @@ public class Paper extends Spider {
|
||||||
} else {
|
} else {
|
||||||
String value = td.select("a").attr("onclick").split("'")[1];
|
String value = td.select("a").attr("onclick").split("'")[1];
|
||||||
values.add(new Filter.Value(td.text(), value));
|
values.add(new Filter.Value(td.text(), value));
|
||||||
types.add(value);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue