Last active
August 29, 2015 14:20
-
-
Save KennyStier/42a318a02f45553d5cec to your computer and use it in GitHub Desktop.
Linux Unplugged HD Feed Generator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# SD JB RSS Feed URL | |
oldfeedurl="http://feeds.feedburner.com/linuxunvid.xml" | |
oldfeedname="sdfeed.xml" | |
newfeedname="hdfeed.xml" | |
# Download a JB Podcast | |
wget -O $oldfeedname $oldfeedurl | |
# Remove the string "-432p" from the video URLs (the HD URLs doesn't have that string) | |
sed -i 's/-432p//g' $oldfeedname | |
# Rename the RSS Feed | |
mv -f $oldfeedname $newfeedname |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment