On 10/29/07, Siva Prasad <[EMAIL PROTECTED]> wrote:

> I am opening a web page using win32::IEAutomation and clicking each
> link on the page and reading data.(This page has 177 links).

I hope you have permission of whoever owns the web server.

> I tried LWP::Simple and LWP::UserAgent to read the content, But the it
> throws me "unable to get the source of the page".

If you're doing what a browser would do, the server would be doing
what the server should do. You might be able to do what you want with
WWW::Mechanize; its FAQ has a section on this problem:

    
http://search.cpan.org/dist/WWW-Mechanize/lib/WWW/Mechanize/FAQ.pod#My_Mech_program_doesn

> Is there any other way to read the source of the page from the server on
> which I don't have a account?

If the server won't give it to you when you ask, wouldn't taking it be stealing?

Cheers!

--Tom Phoenix
Stonehenge Perl Training

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to