java - How to get all links from google -
i trying of links songs on side of google after search band , album ex: https://www.google.com/search?q=disturbed+asylum&ie=utf-8&oe=utf-8
so have tried quite bit on own. i've used:
file input = new file("/tmp/input.html"); document doc = jsoup.parse(input, "utf-8", "http://example.com/"); elements links = doc.select("a[href]");
and printed out of links, didn't links side way. tried html code , search table through there didn't pull table reason. have suggestions?
i think question has been asked here : java crawlers
is looking for?