in reply to Trying to download video from URL links
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Trying to download video from URL links
by Anonymous Monk on Dec 22, 2013 at 15:38 UTC | |
by soulrain (Initiate) on Dec 22, 2013 at 21:05 UTC | |
by Anonymous Monk on Dec 24, 2013 at 06:39 UTC | |
by aitap (Curate) on Dec 27, 2013 at 17:16 UTC | |
|
Re^2: Trying to download video from URL links
by soulrain (Initiate) on Dec 22, 2013 at 19:12 UTC |