[ Jsoup ] ์์๋๋ฉด ์ข์ Jsoup ๋์ฒ๋ฒ
1. Ajax ํฌ๋กค๋ง์ ํ์ ์๋ฌ ๋ฐ์์ Document gjSite = Jsoup.connect("https://www.gwangju.go.kr/c19/c19Main.do") .header("Origin", "https://www.gwangju.go.kr") .header("Referer", "https://www.gwangju.go.kr/c19/") .ignoreContentType(true) .post(); ObjectMapper om = new ObjectMapper(); JsonNode jn = om.readTree(gjSite.select("body").text()); * Ajax ํธ์ถ์ ์ปจํ ํธ ํ์ ์๋ฌ๊ฐ ๋ฐ์ํ ๊ฒฝ์ฐ .ignoreContentType(true) ์ถ๊ฐ 2. https ์ฐ๊ฒฐ์ u..
โ Programming/โ JAVA
2020. 11. 30. 12:15
๋ฐ์ํ