Html download challenge



I've spent days poking around the internet, reading help information, trying
to find working source code but no luck so far.

My problem, on the surface and to someone who knows what he/she is doing,
should be easy to solve.

All I want to do is download the HTML from the following url:

http://www.google.com/search?q=business

Sounds simple. I can type that into a browser and I will get a page full of
information. I try to download that using a Java program, and the server
seems to know I am not a browser (my code works with other Urls just fine).
I figure I need to pass some sort of header information or something so that
I appear to be a browser.

So, what I'm looking for, if anyone is up to the challenge, is a small piece
of Java source code that is capable of downloading the HTML from the above
mentioned url and printing it to the screen.

On my own, I think I'm looking at a pretty big learning curve (low level
HTTP protocol) to sort this out.

Any help is of course greatly appreciated.


.



Relevant Pages

  • .NET Mass Downloader Version 1.2 Released
    ... Welcome to the .NET Mass Downloader project. ... Batch download the Microsoft .NET Reference Source code. ... directory is the cache directory set in Visual Studio ...
    (microsoft.public.dotnet.languages.csharp)
  • .NET Mass Downloader Version 1.2 Released
    ... Welcome to the .NET Mass Downloader project. ... Batch download the Microsoft .NET Reference Source code. ... directory is the cache directory set in Visual Studio ...
    (microsoft.public.dotnet.languages.vb)
  • .NET Mass Downloader Version 1.2 Released
    ... Welcome to the .NET Mass Downloader project. ... Batch download the Microsoft .NET Reference Source code. ... directory is the cache directory set in Visual Studio ...
    (microsoft.public.dotnet.framework)
  • .NET Mass Downloader Version 1.2 Released
    ... Welcome to the .NET Mass Downloader project. ... Batch download the Microsoft .NET Reference Source code. ... directory is the cache directory set in Visual Studio ...
    (microsoft.public.dotnet.framework.windowsforms)
  • .Net Mass Downloader Reference Source Debugable Under VS2005
    ... Welcome to the .NET Mass Downloader project. ... get it one file at a time while you're debugging. ... batch download it for reading or to populate the cache, ... Batch download the Microsoft .NET Reference Source code. ...
    (microsoft.public.dotnet.xml)