Skip to content

Instantly share code, notes, and snippets.

@lakemove
Created March 23, 2016 11:31
Show Gist options
  • Save lakemove/42df05399476cc5f012b to your computer and use it in GitHub Desktop.
Save lakemove/42df05399476cc5f012b to your computer and use it in GitHub Desktop.
download all video lectures, of a single course
curl -s -b "$cookie" "https://class.coursera.org/bitcointech-001/lecture" | grep download.mp4\?lecture_id | awk -F\" '{print $4}' | xargs curl -s -b "$cookie" | awk -F\" '{print $2}' | while read -r line; do wget --content-disposition "$line" ;done
while read -r line; do wget --content-disposition "$line"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment