Thank you guys! It works with:
$mech -> get($downloadURI); $mech -> save_content($fileName);
I thought LWP::Simple was the standard way to download stuff with perl. The problem really was the loss of the cookies.
In reply to Re^2: LWP::Simple trouble.
by scarfguy
in thread LWP::Simple trouble. [SOLVED]
by scarfguy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |