in reply to getstore failure for BBC website
When I enter that URL it gets turned in to:
https://www.bbc.co.uk/schedules/p00fzl7j/2015/10/13
Note the https.
https://www.bbc.co.uk/schedules/p00fzl7j/2015/10/13
Note the https.
Using LWP::UserAgent (which will follow redirects) I got it to work:
use LWP::UserAgent; my $url = 'http://www.bbc.co.uk/radio4/programmes/schedules/fm/2015/10 +/13'; my $ua = LWP::UserAgent->new(ssl_opts => {verify_hostname => 0}); my $res = $ua->get( $url ); my $html = $res->content; print $html;
In Section
Seekers of Perl Wisdom