cURL command line to get embedded files in rss feed?
curl -s http://www.mininova.org/rss/ubuntu | xml sel -N atom="http://www.w3.org/2005/Atom" -t -m './/enclosure' -v '@url' -n | wget -i -
curl
get xml from urlxml
(xmlstarlet
) extract enclosure url form xmlwget
download list of url from stdin
If you don't want to download all links, wget
is not needed.