Skip to content

Instantly share code, notes, and snippets.

@luk-
Created December 7, 2011 05:29
Show Gist options
  • Select an option

  • Save luk-/1441586 to your computer and use it in GitHub Desktop.

Select an option

Save luk-/1441586 to your computer and use it in GitHub Desktop.
var request = require('request');
//request('http://s3.amazonaws.com/data.tumblr.com/tumblr_lgkzjx9pid1qarvg9o1_1280.png?AWSAccessKeyId=AKIAJ6IHWSU3BX3X7X3Q&Expires=1323321189&Signature=sVZ1X4z/LXhV7gpiNvtKdwUQB1E=').pipe(require('fs').createWriteStream("awesome.jpg"))
//request('http://www.tumblr.com/photo/1280/13859988881/1/tumblr_lgkzjx9pid1qarvg9').pipe(require('fs').createWriteStream("awesome.jpg"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment