Skip to content

Instantly share code, notes, and snippets.

@mendelgusmao
Created November 4, 2011 00:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mendelgusmao/1338366 to your computer and use it in GitHub Desktop.
Save mendelgusmao/1338366 to your computer and use it in GitHub Desktop.
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