소스코드 주소 : http://colorscripter.com/s/GaBfEV8
이상하게 타이틀은 잘받아오는데 td 태그는 못받아옵니다.
3일동안 찾아봣는데 왜그런지모르겟습니다. 도와주세요 ㅠㅠ
받아오려는 페이지 : http://www.kma.go.kr/weather/lifenindustry/li_asset/popup/imgdata_popup.jsp?CODE=A07&point=1
소스코드 주소 : http://colorscripter.com/s/GaBfEV8
받아오려는 페이지 : http://www.kma.go.kr/weather/lifenindustry/li_asset/popup/imgdata_popup.jsp?CODE=A07&point=1
getElementsByTag 는 배열을 가져오는건데 배열 접근없이 바로 속성을 꺼내오려고 하시네요?
그럼 doc.select("td"); 는왜안되요?
제 목적이 맨앞 td하나만받아오는건데 어카죠 ㅠ
역시 같은이유에서 안되는거죠 ㅎㅎ;
[0] 또는 .item(0) 또는 .getItem(0) 같은 걸로 해보세용