Skip to content

Instantly share code, notes, and snippets.

@chrishunt
Created December 8, 2012 17:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save chrishunt/4241030 to your computer and use it in GitHub Desktop.
Save chrishunt/4241030 to your computer and use it in GitHub Desktop.
Download Instagram Photos

Download High Resolution Instagram Photos

  1. Go to http://statigr.am/yourlogin
  2. Scroll down as many times as it is needed to have all yor pictures thumbnails displayed
  3. In the JS Console, grab all images
```javascript
$(".lienPhotoGrid a img").each(function(index) { console.log($(this).attr('src')) })
```
  1. Copy all image urls to a file
```
...
http://distilleryimage1.s3.amazonaws.com/4ed46cf2801511e1b9f1123138140926_5.jpg
...
```
  1. Search and replace "_5.jpg" with "_7.jpg"
```bash
%s/_5.jpg/_7.jpg/gc
```
  1. Download all photos with wget
```bash
wget -i filelist.txt
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment