Well, $mech->get is an overloaded method from LWP::UserAgent which can be called as $mech->get( $uri, ':content_file' => $filename ); (quote from the WWW::Mechanize documentation). I've been using this method in my own downloader, but later decided to switch to wget to do the actual downloading. Wget gives me a progress bar and download resuming for free, without writing any additional code, and I already have it installed everywhere.
It's even considered good by "UNIX-way" philosophy to call a program which does one thing and does it well when you need this thing to be done.
In reply to Re: Trying to download video from URL links
by aitap
in thread Trying to download video from URL links
by soulrain
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |