
November 2nd, 2009, 07:57 AM
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 1
Time spent in forums: 1 m 50 sec
Reputation Power: 0
|
|
|
Needed website info not shown in html
hi,
i'm trying to make a simple program to track internet auctions using java... the idea is to paste the auction url to the program, and then java opens the url, reads the html and from that extracts needed info to string.. such as, item name, last bidder and so on...
well, up to this point everything is working fine, but i've come across a problem..
when i open the url and try to extract the "auction timer", the field of the html where the time is supossed to be is "--:--:--", while the website shows the correct countdown timer...
since i'm stuck w/ this problem for a while now, i tried to open the contents w/ firefox view page source and it still says "--:--:--", but when i open it with firebug i get the correct time from timer in the part of the html where it should be...
i uploaded a pic to img230.imageshack.us/img230/1671/53801451.png , where you see that for the same site i get different html if opened with firefox view source or java url and firebug inspect element...
any ideas on how to reach needed info (timer) so i can parse it to string in java?
i tried so far with htmlparsers and various dom manipulators and nothing seems to do the trick...
tnx in advance for the answers!
|