One-liners (February 2015)

Posted on February 3, 2015
curl \ | \
 grep -oE "<link>.*</link>" | grep -oE "http[^<]*"

Here we parse out links from HD rss of Chaos Communication Congress and get the torrent link to downolad it with transmission or rtorrent. If you are an asshole and don’t want to use a torrent, you can just use this mirror to get the videos. Consider putting up a mirror if you do so, to give back the traffic.

# Download CCC talks in English
for x in \
 $(curl $m \
  | grep -oE 'href="[^"]*"' \
  | grep -oE '31c3.*-en[^"]*'); do wget "$m$x"

Build environment for hydra