분류 | 게시판 |
베스트 |
|
유머 |
|
이야기 |
|
이슈 |
|
생활 |
|
취미 |
|
학술 |
|
방송연예 |
|
방송프로그램 |
|
디지털 |
|
스포츠 |
|
야구팀 |
|
게임1 |
|
게임2 |
|
기타 |
|
운영 |
|
임시게시판 |
|
URL url = new URL("http://translate.google.co.kr/?hl=ko&tab=wT#ko/en/"+URLEncoder.encode("기획", "utf-8"));
HttpURLConnection c = (HttpURLConnection) url.openConnection();
c.setRequestProperty("User-agent","Chrome/23.0.1271.97");
BufferedReader br = new BufferedReader(new InputStreamReader(c.getInputStream()));
String buf;
JSONObject json = new JSONObject();
while( ( buf = br.readLine() ) != null ) {
System.out.println(buf);
}
System.out.println(json.toJSONString());
c.disconnect();
//=====================================================================
구글 api 유료화 되서 웹으로 접근 하는데,...
리턴이 이상하다...;;
아오... 머리아파....
죄송합니다. 댓글 작성은 회원만 가능합니다.