Create package excel

This commit is contained in:
xixu-me committed 2024-05-06 01:16:26 +08:00
1 parent a31c9233d0
commit d6e67e683c
4 files changed
+100

No files matched your search

+1
View File
@@ -12,6 +12,7 @@ public class HtmlFetcher {
StringBuilder htmlContent = new StringBuilder();
HttpURLConnection connection = null;
try {
@SuppressWarnings("deprecation")
URL url = new URL(urlString);
connection = (HttpURLConnection) url.openConnection();
connection.setRequestMethod("GET");