Merge remote-tracking branch 'origin/master'
# Conflicts: # bocai.db # src/main/java/com/tem/bocai/schedules/CrawlerSchedule.java # src/main/java/com/tem/bocai/schedules/ExBetScriptSchedule.java
This commit is contained in:
@@ -14,8 +14,8 @@ public class BocaiApplication {
|
|||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
ApplicationContext context = SpringApplication.run(BocaiApplication.class, args);
|
ApplicationContext context = SpringApplication.run(BocaiApplication.class, args);
|
||||||
|
|
||||||
BetSchedule betSchedule = context.getBean(BetSchedule.class);
|
/*BetSchedule betSchedule = context.getBean(BetSchedule.class);
|
||||||
betSchedule.placeBet();
|
betSchedule.placeBet();*/
|
||||||
|
|
||||||
// // 依次执行三个任务
|
// // 依次执行三个任务
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -81,6 +81,11 @@ public class CompletedTodayCrawler implements PageProcessor {
|
|||||||
lastParseSuccess = true; // 标记失败
|
lastParseSuccess = true; // 标记失败
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (content.contains("可赢金额")) {
|
||||||
|
System.out.println("未结明细不用爬");
|
||||||
|
lastParseSuccess = false; // 标记失败
|
||||||
|
return;
|
||||||
|
}
|
||||||
// 解析注单数据
|
// 解析注单数据
|
||||||
List<Map<String, Object>> betList = parseBetHtml(content);
|
List<Map<String, Object>> betList = parseBetHtml(content);
|
||||||
if (betList.isEmpty()) {
|
if (betList.isEmpty()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user