html - Java getting source code from a website -
i have problem once again cant find source code because hidden or something... when java program indexes page finds info need... assume hidden reason there anyway around this?
its bunch of tr/td tags show in firebug dont show when viewing page source or when below
url url = new url("my url"); urlconnection yc = url.openconnection(); bufferedreader in = new bufferedreader(new inputstreamreader(yc.getinputstream())); string inputline; while ((inputline = in.readline()) != null) { i have no idea how attempt info need...
the reason behavior because tags dynamically injected dom using javascript , not part of initial html can fetch urlconnection. might created using ajax. need javascript interpreter on server if want fetch those.
Comments
Post a Comment