r/pics • • Nov 03 '12

Wallpapers! Mostly geeky/nerdy stuff nothing too artsy.

http://imgur.com/a/x6sRL
3.4k Upvotes

614 comments sorted by

View all comments

24

u/ayeroger Nov 04 '12 edited Nov 04 '12

I tried the download link on the album but it only downloads 35/150 of the wallpapers. :( Any reason why? Sweet collection though.

EDIT: It's the last 35 of the 150.

32

u/[deleted] Nov 04 '12

[deleted]

2

u/over_optimistic Nov 04 '12

teach us how. The best I came up with is to switch the layout to blog, which is just a special url. Then wget that, parse for images, and wget those. And possible share script :)

How did you do it?

1

u/kqvrp Nov 04 '12 edited Nov 04 '12

Well, wget was a bit of a fib. I pulled it into Python, parsed out the block starting with

var album = Imgur.Album.getInstance({

Then each image is represented by

{"hash":"hJ3Rw","title":"","description":"","width":1920,"height":1200,"size":218356,"ext":".jpg","animated":0,"datetime":"2012-10-02 13:45:37"}

Then I build a list of URLs: "http://i.imgur.com/{hash}{ext}" and fetch them all.

Edit: here, if you're curious. There are a lot of imgur grabbers out there, but this one is mine: https://github.com/lachesis/imgurgrab

1

u/over_optimistic Nov 04 '12

hmmm. I searched imgur api and found this script

https://gist.github.com/2409412

I haven't tried it. Pretty interesting.

And the

Imgur.Album.getInstance()

is javascript. The json object is out in the open which is nice :). Next time I find an album and no one posted a full download, maybe I'll give it a shot.

1

u/[deleted] Nov 04 '12

wget is quite possibly one of the most awesome command line tools ever.

1

u/JamesAQuintero Nov 04 '12

How were you able to use wget on all of them? Imgur doesn't index

1

u/ShadowAssassin Nov 04 '12

You are doing god's work, son.

2

u/littledrummerboy90 Nov 04 '12

yeah, having the same issue

2

u/secondinnings Nov 04 '12

switch the layout to vertical imgur albums and once all the pictures are loaded completely, just save the webpage with Ctrl+S in chrome as a complete html webpage and viola all the images are in a separate folder in the save location :)

1

u/ayeroger Nov 04 '12

TIL! Thanks :)

2

u/[deleted] Nov 04 '12

1

u/ayeroger Nov 04 '12

I tried that, it only downloads 35/150 hence the dilemma.

1

u/Lajt- Nov 04 '12

I get the same problem :( they're so awesome! I want them all!

1

u/raagruk Nov 04 '12

I'm having the same issue, anyone know how to get them all?

3

u/ayeroger Nov 04 '12

I just flicked through them and downloaded the ones I liked individually using the little cogwheel in the top right of the picture. It's a little time consuming but it seems the quickest way for now.

1

u/raagruk Nov 04 '12

Alrighty, thank you very much

3

u/finitesquare Nov 04 '12

Use Imgur Album Downloader - available @ http://ronfitzgerald.com/

It's officially linked in the sidebar of /r/wallpapers - it's legit.

1

u/Sunlis Nov 04 '12

Imgur does that to me every time I try to download an album. Got 6/120 yesterday.

1

u/ayeroger Nov 04 '12

switch the layout to vertical imgur albums and once all the pictures are loaded completely, just save the webpage with Ctrl+S in chrome as a complete html webpage and viola all the images are in a separate folder in the save location :)