|
@@ -267,7 +267,7 @@ public class BgServiceImpl implements BgService {
|
|
|
@Async
|
|
@Async
|
|
|
@Override
|
|
@Override
|
|
|
public void jsoupVideoInfoUncensored(Integer status) {
|
|
public void jsoupVideoInfoUncensored(Integer status) {
|
|
|
- log.info("jsoupVideoInfoUncensored 开始:status={}", status);
|
|
|
|
|
|
|
+ log.warn("jsoupVideoInfoUncensored 开始:status={}", status);
|
|
|
|
|
|
|
|
// 获取待抓取码列表
|
|
// 获取待抓取码列表
|
|
|
List<String> icodeList = videoInfoUncensoredMapper.findIcodeByStatus(status);
|
|
List<String> icodeList = videoInfoUncensoredMapper.findIcodeByStatus(status);
|
|
@@ -315,7 +315,7 @@ public class BgServiceImpl implements BgService {
|
|
|
|
|
|
|
|
j++;
|
|
j++;
|
|
|
|
|
|
|
|
- log.info("jsoupVideoInfoUncensored success:i={},time={},identificationCode={}", i, System.currentTimeMillis() - start, identificationCode);
|
|
|
|
|
|
|
+ log.warn("jsoupVideoInfoUncensored success:i={},time={},identificationCode={}", i, System.currentTimeMillis() - start, identificationCode);
|
|
|
break;
|
|
break;
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
++retryCount;
|
|
++retryCount;
|
|
@@ -329,7 +329,7 @@ public class BgServiceImpl implements BgService {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- log.info("jsoupVideoInfoUncensored 统计:total={},success={}", icodeList.size(), j);
|
|
|
|
|
|
|
+ log.warn("jsoupVideoInfoUncensored 统计:total={},success={}", icodeList.size(), j);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -341,7 +341,7 @@ public class BgServiceImpl implements BgService {
|
|
|
@Async
|
|
@Async
|
|
|
@Override
|
|
@Override
|
|
|
public void jsoupVideoInfo(Integer status) {
|
|
public void jsoupVideoInfo(Integer status) {
|
|
|
- log.info("jsoupVideoInfo 开始:status={}", status);
|
|
|
|
|
|
|
+ log.warn("jsoupVideoInfo 开始:status={}", status);
|
|
|
|
|
|
|
|
// 获取待抓取码列表
|
|
// 获取待抓取码列表
|
|
|
List<String> icodeList = videoInfoMapper.findIcodeByStatus(status);
|
|
List<String> icodeList = videoInfoMapper.findIcodeByStatus(status);
|
|
@@ -386,7 +386,7 @@ public class BgServiceImpl implements BgService {
|
|
|
|
|
|
|
|
j++;
|
|
j++;
|
|
|
|
|
|
|
|
- log.info("jsoupVideoInfo success:i={},time={},identificationCode={}", i, System.currentTimeMillis() - start, identificationCode);
|
|
|
|
|
|
|
+ log.warn("jsoupVideoInfo success:i={},time={},identificationCode={}", i, System.currentTimeMillis() - start, identificationCode);
|
|
|
break;
|
|
break;
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
++retryCount;
|
|
++retryCount;
|
|
@@ -400,7 +400,7 @@ public class BgServiceImpl implements BgService {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- log.info("jsoupVideoInfo 统计:total={},success={}", icodeList.size(), j);
|
|
|
|
|
|
|
+ log.warn("jsoupVideoInfo 统计:total={},success={}", icodeList.size(), j);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -513,7 +513,7 @@ public class BgServiceImpl implements BgService {
|
|
|
@Async
|
|
@Async
|
|
|
@Override
|
|
@Override
|
|
|
public void jsoupIcodePool(Integer status, Integer isDel) {
|
|
public void jsoupIcodePool(Integer status, Integer isDel) {
|
|
|
- log.info("jsoupIcodePool 开始:status={},isDel={}", status, isDel);
|
|
|
|
|
|
|
+ log.warn("jsoupIcodePool 开始:status={},isDel={}", status, isDel);
|
|
|
if (isDel == 1) {
|
|
if (isDel == 1) {
|
|
|
videoInfoPoolMapper.deleteAll();
|
|
videoInfoPoolMapper.deleteAll();
|
|
|
}
|
|
}
|
|
@@ -581,7 +581,7 @@ public class BgServiceImpl implements BgService {
|
|
|
j++;
|
|
j++;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- log.info("jsoupIcodePool success:i={},picTime={},time={},identificationCode={}", i, picTime, System.currentTimeMillis() - start, identificationCode);
|
|
|
|
|
|
|
+ log.warn("jsoupIcodePool success:i={},picTime={},time={},identificationCode={}", i, picTime, System.currentTimeMillis() - start, identificationCode);
|
|
|
break;
|
|
break;
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
++retryCount;
|
|
++retryCount;
|
|
@@ -598,7 +598,7 @@ public class BgServiceImpl implements BgService {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- log.info("jsoupIcodePool 统计:total={},success={}", icodePoolList.size(), j);
|
|
|
|
|
|
|
+ log.warn("jsoupIcodePool 统计:total={},success={}", icodePoolList.size(), j);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
private String getUserAgent() {
|
|
private String getUserAgent() {
|