模块化拆分

This commit is contained in:
禾几海
2021-10-01 01:08:46 +08:00
parent c1c7f38ee9
commit 7e700b6499
69 changed files with 471 additions and 331 deletions

View File

@@ -15,6 +15,9 @@ import java.io.IOException;
* @Desc:
*/
public class HttpUtil {
/**
* FIXME
*/
public static String get(String urlStr) {
try (final WebClient webClient = new WebClient(BrowserVersion.CHROME)) {
webClient.getOptions().setCssEnabled(false);
@@ -34,7 +37,9 @@ public class HttpUtil {
}
}
/**
* FIXME
*/
public static String getAfterRendering(String url) {
try (final WebClient webClient = new WebClient(BrowserVersion.BEST_SUPPORTED)) {
webClient.getOptions().setCssEnabled(false);