Skip to content

Instantly share code, notes, and snippets.

@c00kiemon5ter
Created October 16, 2010 13:36
Show Gist options
  • Save c00kiemon5ter/629790 to your computer and use it in GitHub Desktop.
Save c00kiemon5ter/629790 to your computer and use it in GitHub Desktop.
grab some video IDs by date
curl -s http://www.canalplus.fr/rest/bootstrap.php?/bigplayer/search/zapping | sed "s/<DATE/\n<DATE/g" | sed -n '/<DATE>14/10/2010</DATE>/{s/.*<HAUT_DEBIT>\(.*\)<\/HAUT_DEBIT>.*<ID>\(.*\)<\/ID>.*/\2 \1/p}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment