sumantedla
01-31-2005, 04:58 AM
Hello All,
I am having a problem with search engines.
I am able to connect to google and yahoo thro java and retrieve the html code.
say,for google the url is http://www.google.com/search?q=java
I am getting the html code when "java" is the query.
But when I click next in google(for next set of results) , the url is ..
http://www.google.com/search?q=java&hl=en&lr=&start=10&sa=N
When I try to connect to this url , i am getting malformed url exceptions.
It is the same with yahoo.
Hope u understood my problem.
How can i get the html code from this url???
Can anyone help me??
I am having a problem with search engines.
I am able to connect to google and yahoo thro java and retrieve the html code.
say,for google the url is http://www.google.com/search?q=java
I am getting the html code when "java" is the query.
But when I click next in google(for next set of results) , the url is ..
http://www.google.com/search?q=java&hl=en&lr=&start=10&sa=N
When I try to connect to this url , i am getting malformed url exceptions.
It is the same with yahoo.
Hope u understood my problem.
How can i get the html code from this url???
Can anyone help me??