Re: DocumentHTML ?
- From: "~greg" <g_m@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 26 Feb 2007 23:01:38 -0500
"A. Sinan Unur" > wrote ...
"~greg" > wrote ...
...
Any hints, please?
Well, the first one would to use
http://search.cpan.org/~abeltje/Win32-IE-Mechanize-0.009_17/
I have successfully used that module to do some really complicated
automated downloading of about 10 GB of HTML from various web sites
(sorry can't be more specific).
Note the comment at
http://search.cpan.org/~abeltje/Win32-IE-Mechanize-0.009_17/lib/Win32/IE/Mechanize.pm#%24ie-%3Econtent
use strict;
use warnings; # do not leave it out.
Thanks.
I do use Mechanize, and TreeBuilder, together, quite a bit.
But what I am really trying to do is to add value to my regular browser
(i.e, IE), --without having to write COM plug-ins
(or whatever they're called these days.)
~~
I don't know what you mean by "the comment" at the link
to cpan's Win32::IE::Mechanize,
but the DESCRIPTION of its current state is not at all encouraging
(---"Don't expect it to be like the mech in that the class is not derived
from the user-agent class (like LWP). WARNING: This is a work in progress ... ")
and the CAVEATS (---"...This means that you may need
to set your security settings to a low and possibly unsafe level. ...")
sounds down right dire to me.
(Part of what I mean by adding value to IE is ADDING security, not subtracting it!)
~~~
But of course I use warnings!
You didn't see it in my snippet because I always run scripts
from within a text editor that has it on the command line:
perl.exe -w -Mstrict ...
But I do want to thank you because you made me look
at the setup again, and it turns out that I'd had it as:
perl.exe -w mstrict ...
- with small 'm' instead of capital 'M',
-- which is why I had to still use "use strict;"
in all my scripts!
And now I don't have to look at either one of them - "use strict;" or "use warnings;"
ever again! :)
(Next I've got to figure out how to hide "$|=1;" )
~greg
.
- Follow-Ups:
- Re: DocumentHTML ?
- From: A. Sinan Unur
- Re: DocumentHTML ?
- From: Joe Smith
- Re: DocumentHTML ?
- References:
- DocumentHTML ?
- From: ~greg
- Re: DocumentHTML ?
- From: A. Sinan Unur
- DocumentHTML ?
- Prev by Date: Net::SSH::Perl - Broken Pipe
- Next by Date: Re: Any 3270 emulation for perl yet?
- Previous by thread: Re: DocumentHTML ?
- Next by thread: Re: DocumentHTML ?
- Index(es):
Relevant Pages
|