kingram has asked for the wisdom of the Perl Monks concerning the following question:
While not new to Perl, I have spent more time on databases and Java and decided to try using Perl to download podcast info. I really like Perl, but it takes a little more effort to get things going with it.
I want to download a large collection of podcasts which I have catalogued in a database. I downloaded the complete rss and catalogued the shows. Some of which I downloaded manually with wget
I read in a previous post on here about someone using system(wget .....) in perl, but a follow-up post suggested LWP
I'm not really getting in the LWP documentation how to do this. I'll read it again a little more closely, but if I need to spend 5 hours reading LWP, to get 30 or so files it's not an economical trade of time. It's easier to use system(wget -O...). However, if LWP is great, this would be my entry point to eventually become more fluent with it.
Would anyone be willing to show me example code using LWP to download podcasts from an array (of selected choices), to a specific directory, with a specific name for each file? I think that would help me get a better grip on LWP's usefulness over wget in a perl script
I have just about every other element of my automation done. This would be the last step.
Thanks for your time
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using LWP instead of wget?
by BrowserUk (Patriarch) on Jul 26, 2012 at 23:01 UTC | |
by kingram (Acolyte) on Jul 28, 2012 at 05:08 UTC | |
by BrowserUk (Patriarch) on Jul 28, 2012 at 05:39 UTC | |
|
Re: Using LWP instead of wget?
by bulk88 (Priest) on Jul 27, 2012 at 04:27 UTC | |
by kingram (Acolyte) on Jul 28, 2012 at 05:03 UTC | |
|
Re: Using LWP instead of wget?
by Anonymous Monk on Jul 26, 2012 at 23:03 UTC | |
by kingram (Acolyte) on Jul 28, 2012 at 05:07 UTC |