Re: how to get source of of web page which is hosted on the server (which I dont have access).
- From: rootbeer@xxxxxxxxxx (Tom Phoenix)
- Date: Tue, 30 Oct 2007 09:47:55 -0700
On 10/29/07, Siva Prasad <perlpra@xxxxxxxxx> 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
.
- References:
- Prev by Date: Re: One sprintf() initializations problem
- Next by Date: Re: One sprintf() initializations problem
- Previous by thread: how to get source of of web page which is hosted on the server (which I dont have access).
- Next by thread: Re: how to get source of of web page which is hosted on the server (which I dont have access).
- Index(es):
Relevant Pages
|