Skip to content

Instantly share code, notes, and snippets.

@nightsh
Created January 5, 2014 00:38
Show Gist options
  • Save nightsh/8262775 to your computer and use it in GitHub Desktop.
Save nightsh/8262775 to your computer and use it in GitHub Desktop.
clive grab all youtube URLs from a html file
elinks -dump 1 list.html | grep 'watch?v=' | sed 's;file:///;http://youtube.com/;g' | sed 's/&list=.*//' | awk '{print $2}' | sed '/^ *$/d' | uniq > list.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment