Linux systems give you many possibilities and one of them is good scheduling (cron), another is good scripting capabilities. I’ve done things with linux fairly easily that with Windows would have been next to impossible and required me to download several other things to make it happen. Anyway, I recently saw mention of a linux, bash scripted podcatching client. Basically you tell what podcasts you subscribe to and it downloads them on a schedule. It reminded me of a couple scripts I’ve got running that do similar things, but not from a true rss/podcast feed.
First up, I’ve mentioned before that I’ve been brushing up on my spanish the last couple of years. I’ve found shortwave news broadcasts to be helpful. One such is the Voice of America buenos dias America broadcast. Of course, many shortwave broadcasters make their shows available online. I found the place online where it’s updated each day and did a very simple script….
/usr/bin/wget ftp://8475.ftp.storage.akadns.net/mp3/voa/latam/span/buenos.mp3 -O buenos_$date.mp3
It’s a simple wget, the file at their end changes each day, I get the date in a format I want and wen wget pulls the file down it saves it with the date so I can keep track of deleting old ones. Nice and simple.
I’ve done an almost identical script for radio Nederlands noticias… the only difference being a different web server for the wget. The only thing now to do is to set the script as executable and schedule it with cron (or kcron) for a daily download. One warning, there will be no size limitations, so you’ll have to clean up/archive old ones on your own. Some will not be as straightforward as the above. I have a couple for instance that use lynx to dump the source of a webpage and then grep for mp3 and then pipe through sed to get the address to the mp3 file, a bit tricky and site specific, but it works.
Related PostsRelated Posts
- Linux Permissions Headache Yikes, what an evening..... it started innocently enough in the afternoon. I have an old Mandrake 10.0 server that I was upgrading clamav on (recent security update). While I was at it, I was reviewing the anti-spam setup to see if I could get any better success with filtering junk......
- Quickbooks "An error has occurred in the script on this page" I ran into an install of Quickboos Pro 2005 that was having a peculiar problem. When any company file was opened I was seeing an Internet Explorer Script Error message (quickbooks uses Internet Explorer to parse the company page ( Usually C:\Program Files\Intuit\Quickbooks\Components\Pages\Comppage.qpg ) The error basically said "An error......
- Crossroads At this point, I doubt anyone is seeing this as the wordpress test install is not live to the public yet, but... I'm opening this one up for comments. On the old site, I had accumulated a bit of content along the lines of windows/linux tips, software recommendations and tech......
- File Later FileLater is proud to be the first company on the Internet to offer both personal tax extensions and business tax extensions through IRS e-file. As taxpaying Americans, the founders of FileLater had struggled for years to meet the dreaded April 15 deadline for personal income taxes as well as......
- Encryption: Never Leave Home Without It As portable drives have gotten physically smaller and larger in storage capacity, they've become an indespensible gadget for many. If you use yours to store vital and sensitive information, you need to secure that information with encryption. I should not need to tell you about the long list of......
- I'm back! Thanks
DanicaGoDaddy! How many of you have experienced a virus/malware attack on your computer? I would guess that most of us have encountered the maddening moment when you realize that your computer is royally screwed up at least once. Over time, we learn to actually install protection software and back up our most......
- Juice – formerly ipodder podcast client for Linux (Windows and Mac too…)
- Bashpodder linux podcasting client
- Shortwave Radio schedule browsing Application
- Converting spaces in filenames to underscores
- Offline web browsing script