Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Idea: scriptable rss downloader
hosts {
megaupload\.com
rapidshare\.com
filesonic\.com
4shared\.com
}
source www.bunalti.com/?feed=rss2 {
meta {
artist /(.*) - /i > $title
album / \- (.*) \(\d+\)/i > $title
yer / \- .* \((\d+\))/i > $title
country /Country: (.*)/i > $body
genre /Genre: (.*)/i > $body
}
nofollow {
myspace\.com
\.jpg$
}
follow $hosts {
priority {
megaupload\.com
}
}
}
source www.mediaboom.org/rss.xml {
follow #www.mediaboom.org/([a-z0-9\-]+).html#i {
meta {
genre: /.*/i
artist: /.*/i
album: /.*/i
country: /.*/i
}
follow #www.mediaboom.org/engine/go.php?url=([a-z0-9=\+]+)#i {
filter base64_decode {
follow $0
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment