Notice
Recent Posts
Recent Comments
목록JSoup (1)
꿈소년의 개발 이야기
Jsoup & encoding & charset & html
how to encoding html using Jsoup in android. 1. request html 123456789OkHttpClient client = new OkHttpClient();Request request = new Request.Builder().url(scrapUrl).header(HEADER_AGENT, USER_AGENT_CHROME).build(); Response response = client.newCall(request).execute();htmlBody = response.body().byteStream(); Colored by Color Scriptercs 2. get Document & extract elements12Document doc = Jsoup.pars..
Android Development
2018. 1. 11. 17:47
