WojciechGajewski has asked for the wisdom of the Perl Monks concerning the following question:
But somehow it works fine for most of the pages, but for a few it does not work at all. An example would be the following address: http://www.gutenberg.org/files/10002/10002.txt Why cannot I get the source code? How can I modify my perl code to get the source? Is it something with changing ports? Thanks in advance, Wojciech.#!/usr/bin/perl use LWP::Simple; $url = get 'http://www.DevDaily.com/';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: problem with getting web source
by BrowserUk (Patriarch) on Mar 24, 2013 at 17:32 UTC | |
|
Re: problem with getting web source
by Corion (Patriarch) on Mar 24, 2013 at 17:04 UTC | |
by WojciechGajewski (Initiate) on Mar 24, 2013 at 17:08 UTC | |
by Corion (Patriarch) on Mar 24, 2013 at 17:18 UTC | |
by WojciechGajewski (Initiate) on Mar 24, 2013 at 17:26 UTC |