Re: How to get the text contant of the webpage,using the IDLnetURL? [message #55158] |
Thu, 02 August 2007 18:22 |
linglimu
Messages: 7 Registered: December 2006
|
Junior Member |
|
|
> Try like this:
>
> IDL> ourl = obj_new('IDLnetURL')
> IDL> content = ourl->get(url='http://www.google.com', /string_array)
> IDL> obj_destroy, ourl
> IDL> print, content
> <html><head>... etc
>
> Mike
> --www.michaelgalloy.com
Mike,
Thanks for your answer.I have used the URL_HOST and URL_PATH to set
the address,Some pages were not accessible.Now the pages all can be
accessed using the method you provided.
|
|
|
|