Still not sure what you need. Can you express the target element as an XPath or jQuery expression? e.g. "tr.past td.relay a.record"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-08-12
What I need is very simple.
Just want to get the "http://sports.media.daum.net/baseball/kbo/schedule/rec_main.daum?game_id=40030" link vale from the html page.
The url value's game_id=40030 is changed everyday.
In html page, there are some <TR class="d past "> ….some more information include url I need </TR>
and I want to get is above url from the web page.
So it could be list of string.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-08-12
--- re explanation ---
What I need is very simple. Just want to get the "http://sports.media.daum.net/baseball/kbo/schedule/rec_main.daum?game_id=40030"; link value from the html page. In url, game_id=40030 is changed everyday. In html page, there are some <TR class="d past "> ….some more information include url I need </TR> and what I want to get is above url from the web page. So it could be list of string.
Just now I parse all the url and put them on the ArrayList <String>
and use string.startWith("http://sports.media.daum.net/baseball/kbo/schedule"); to get the url I want.
Thanks,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-08-12
Plus, as there is <TR class="d past "> </TR>
I taught I don't have to get all the urls from the html page.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi every one.
I'm trying to use jericho parser to my android application.
However when I try to parse the web page, I don't know how to get the exact value which I want.
Every time when I try there are some problem
In current web site, it contain following code fregment.
<TR class="d past ">
<TD class=date>8일 (일) </TD>
<TD class=team1><A
href="http://sports.media.daum.net/baseball/kbo/record/tinf_main.daum?team_id=385">두산</A>
<EM>6</EM>
<TD class=vs>:</TD>
<TD class=team2><EM>5</EM> <A
href="http://sports.media.daum.net/baseball/kbo/record/tinf_main.daum?team_id=389">KIA</A></TD>
<TD class=time>17:00</TD>
<TD class=relay><A class=text
href="http://cast.sports.media.daum.net/nahum/baseball/view.html?game_date=20100808&home=HT&away=OB&league=KBO&game_code=20100808OBHT0"><IMG
alt="" src="야구%20%20Daum%20스포츠_files/bt_live_text.gif" width=51
height=21></A> <A class=record
href="http://sports.media.daum.net/baseball/kbo/schedule/rec_main.daum?game_id=40030"><IMG
alt="" src="야구%20%20Daum%20스포츠_files/bt_live_record.gif" width=51
height=21></A></TD>
<TD class=tv></TD>
<TD class=stadium>월명</TD>
<TD class=weather><IMG alt="" src="야구%20%20Daum%20스포츠_files/ico_wnone.gif"
width=6 height=2></TD></TR>
And from this code I wana get following value:
"http://sports.media.daum.net/baseball/kbo/schedule/rec_main.daum?game_id=40030"
But I don't know how.. Need help!
I wanna get the specific href value which is wrapped with <TR class="d past "> </TR>
Still not sure what you need. Can you express the target element as an XPath or jQuery expression? e.g. "tr.past td.relay a.record"
What I need is very simple.
Just want to get the "http://sports.media.daum.net/baseball/kbo/schedule/rec_main.daum?game_id=40030" link vale from the html page.
The url value's game_id=40030 is changed everyday.
In html page, there are some <TR class="d past "> ….some more information include url I need </TR>
and I want to get is above url from the web page.
So it could be list of string.
--- re explanation ---
What I need is very simple. Just want to get the "http://sports.media.daum.net/baseball/kbo/schedule/rec_main.daum?game_id=40030"; link value from the html page. In url, game_id=40030 is changed everyday. In html page, there are some <TR class="d past "> ….some more information include url I need </TR> and what I want to get is above url from the web page. So it could be list of string.
Just now I parse all the url and put them on the ArrayList <String>
and use string.startWith("http://sports.media.daum.net/baseball/kbo/schedule"); to get the url I want.
Thanks,
Plus, as there is <TR class="d past "> </TR>
I taught I don't have to get all the urls from the html page.