Closed jlav1n closed 12 years ago
--- /usr/local/B_Shipping/bin/Business-Shipping-UPS_Offline-update-fuel-surcharge.pl.orig 2012-07-09 19:50:36.000000000 -0400 +++ /usr/local/B_Shipping/bin/Business-Shipping-UPS_Offline-update-fuel-surcharge.pl 2012-07-09 19:50:52.000000000 -0400 @@ -22,7 +22,7 @@ 01 4 * * 1 perl -MCPAN -e 'install Business::Shipping::DataFiles' - http://www.ups.com/content/us/en/resources/find/cost/fuel_surcharge.html + http://www.ups.com/content/us/en/shipping/cost/zones/fuel_surcharge.html =head1 REQUIRED MODULES @@ -80,7 +80,7 @@ my $ua = LWP::UserAgent->new; $ua->timeout( 10 ); $ua->env_proxy(); - my $request_param = 'http://www.ups.com/content/us/en/resources/find/cost/fuel_surcharge.html'; + my $request_param = 'http://www.ups.com/content/us/en/shipping/cost/zones/fuel_surcharge.html'; my $response = $ua->get( $request_param ); die "Could not update fuel surchage: could not access ups fuel_surcharge page" unless $response->is_success;
Thanks for the patch! Applied.