Menu

How to get the exact href value?

Anonymous
2010-08-11
2013-01-03
  • Anonymous

    Anonymous - 2010-08-11

    I wanna get the specific href value which is wrapped with <TR class="d past "> </TR>

     
  • Martin Jericho

    Martin Jericho - 2010-08-11

    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"

     
  • Anonymous

    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.

     
  • Anonymous

    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,

     
  • Anonymous

    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.

     

Log in to post a comment.