I want a code to search to google engine for songs via zippyshare . For example the keyword will be "inna sun is up zippyshare" and the first result is this url www32.zippyshare.com/v/55151563/file.html . i want to retrieve the code 55151563 from the the 1st result of google. Thank you in advance
Asked
Active
Viewed 405 times
1 Answers
2
I will not write the code for you, but I can tip you to the right approach.
Get the url using String search = "http://www.google.com/search?hl=en&q=" + string_to_search;
Download the webpage using URL, InputStream and OutputStream. Check this post here.
Read the file and find the first instance of zippyshare. Here you can read about xml parsing

Community
- 1
- 1

Kaern Stone
- 619
- 1
- 5
- 11
-
could you code it for me ?? I will pay you of course via Paypal. – DIMOS Nov 26 '10 at 14:17