Skip to content

Commit d9971a1

Browse files
committed
test multispider
1 parent 2cc20bc commit d9971a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/MultiSpider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
public class MultiSpider {
1414

15-
private int threadNum = 1;
15+
private int threadNum = 10;
1616
private ExecutorService service;
1717
private String username;
1818
private String password;
@@ -53,6 +53,6 @@ public MultiSpider thread(int num) {
5353

5454
public static void main(String[] args) {
5555
MultiSpider spider = new MultiSpider();
56-
spider.create("tanghaodong25@163.com", "thd04180015").run();;
56+
spider.create("tanghaodong25@163.com", "***").run();
5757
}
5858
}

0 commit comments

Comments
 (0)