Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Can I use 'get' to grab the HTML source of an external website? For instance, I was using:
$html = get $url;
where $url is defined in the URL of the script (i.e. script.pl?url=http://www.blah.com), and that was working to grab the HTML on one server, but when I moved the program over to a different server that doesn't seem to work anymore.
Is there another function I can use? Or node just doing something wrong?
Intaglio
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Getting External HTML
by PsychoSpunk (Hermit) on Dec 20, 2000 at 23:38 UTC | |
|
Re: Getting External HTML
by Hrunting (Pilgrim) on Dec 21, 2000 at 01:02 UTC | |
|
Re: Getting External HTML
by mrmick (Curate) on Dec 21, 2000 at 00:01 UTC | |
|
Re: Getting External HTML
by dws (Chancellor) on Dec 21, 2000 at 05:55 UTC | |
|
Re: Getting External HTML
by davorg (Chancellor) on Dec 21, 2000 at 02:23 UTC | |
|
Re: Getting External HTML
by Fastolfe (Vicar) on Dec 21, 2000 at 06:04 UTC | |
|
Re: Getting External HTML
by tune (Curate) on Dec 21, 2000 at 04:46 UTC | |
|
Re: Getting External HTML
by electronicMacks (Beadle) on Dec 21, 2000 at 05:57 UTC |