Update Zhaozy
This commit is contained in:
parent
055f3e7148
commit
2820be8ce7
|
|
@ -26,8 +26,8 @@ public class Zhaozy extends Spider {
|
||||||
private final Pattern regexAli = Pattern.compile("(https://www.aliyundrive.com/s/[^\"]+)");
|
private final Pattern regexAli = Pattern.compile("(https://www.aliyundrive.com/s/[^\"]+)");
|
||||||
private final Pattern regexVid = Pattern.compile("(\\S+)");
|
private final Pattern regexVid = Pattern.compile("(\\S+)");
|
||||||
private final String siteUrl = "https://zhaoziyuan.la/";
|
private final String siteUrl = "https://zhaoziyuan.la/";
|
||||||
private String username = "nikalo8893@bitvoo.com";
|
private String username;
|
||||||
private String password = "P@ssw0rd";
|
private String password;
|
||||||
|
|
||||||
private Map<String, String> getHeader() {
|
private Map<String, String> getHeader() {
|
||||||
Map<String, String> headers = new HashMap<>();
|
Map<String, String> headers = new HashMap<>();
|
||||||
|
|
@ -56,10 +56,8 @@ public class Zhaozy extends Spider {
|
||||||
public void init(Context context, String extend) {
|
public void init(Context context, String extend) {
|
||||||
String[] split = extend.split("\\$\\$\\$");
|
String[] split = extend.split("\\$\\$\\$");
|
||||||
Ali.get().init(split[0]);
|
Ali.get().init(split[0]);
|
||||||
if (split.length > 2) {
|
username = split[1];
|
||||||
username = split[1];
|
password = split[2];
|
||||||
password = split[2];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
d5d77424e72a6ade93621611b1114875
|
fb25839a41ad3ce40356acf31920373c
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue