merrymonk has asked for the wisdom of the Perl Monks concerning the following question:
The output from this epg file <C:\evoke-recordings\epg_files> is there fund_url <http://www.bbc.co.uk/radio4/programmes/schedules/fm/2015/10/13> fund_item <2015_10_13_epg> url_file <C:\evoke-recordings\epg_files\2015_10_13_epg.html> store_res <501> Can any Monk explain how I can make this work again?use strict "vars"; use LWP::Simple; my ($epg_dir, $fund_url, $fund_item, $url_file, $store_res); $epg_dir = "C:\\evoke-recordings\\epg_files"; if(-d $epg_dir) { print "epg file <$epg_dir> is there\n"; } else { print "epg file <$epg_dir> is NOT there\n"; } $fund_url = "http://www.bbc.co.uk/radio4/programmes/schedules/fm/2015 +/10/13"; print "\nfund_url <$fund_url>\n"; $fund_item = "2015_10_13_epg"; print "\nfund_item <$fund_item>\n"; $url_file = $epg_dir . '\\' . $fund_item . ".html"; print "\nurl_file <$url_file>\n"; $store_res = getstore($fund_url, $url_file); print "\nstore_res <$store_res>\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: getstore failure for BBC website
by tangent (Parson) on Jan 28, 2018 at 22:54 UTC | |
by merrymonk (Hermit) on Jan 29, 2018 at 13:33 UTC | |
|
Re: getstore failure for BBC website
by soonix (Chancellor) on Jan 28, 2018 at 22:46 UTC |