RollyBug
Member
I like playing around with large amounts of data. My current programming project is a tool that allows you to generate a mosaic with an input image and tiles. I needed a large sample of images to stress-test the tool and what came to mind were the profile pics of everyone here.
At first I wasn't sure if downloading all of these images was even practically possible. But, sure enough, each user's profile image is easily accessible through a unique URL.
Each image link has this structure:
https://forum.yoyogames.com/data/avatars/l/[X]/[Y].jpg
...where Y is a forum user ID and X is the first two digits of that ID. My ID is 27145, so my link is:
https://forum.yoyogames.com/data/avatars/l/27/27145.jpg
So, to batch download *all* user's profile pics, I simply need to download each possible variation of this link. To make that easier on myself I used a Chrome extension called Simple Mass Downloader to do most of the heavy lifting. I could set a pattern URL like so:
https://forum.yoyogames.com/data/avatars/l/0/[0:999].jpg
...and it would download 0.jpg through 999.jpg in that directory. Next, I had to do the same thing for all other directories, so I copied that a bunch and made this text file with the numbers adjusted a bit (Notepad++ is great for this sort of thing!). The last step was to copy and paste each line into the pattern URL field to build my download queue and finally start downloading!
There are only about 15,000 registered users, and of those users only some have set their profile picture, so I was expecting no more than, say, 5,000 images. Since my downloading queue included *every single possible number combination* I got a bunch of "file not found" errors with proper images mixed in. In the end I received 4,190 images taking up 63.7 MB of space. That means about 30% of us have set a profile pic, which is interesting I guess.
I made a collage with each image included which you can view below. Have fun trying to find yourself!
Note that each image has been resized to 48x48 px, meaning that the few pics that were not squares were cut a bit.
I don't know what you could do with this information, I just felt like sharing.
At first I wasn't sure if downloading all of these images was even practically possible. But, sure enough, each user's profile image is easily accessible through a unique URL.
Each image link has this structure:
https://forum.yoyogames.com/data/avatars/l/[X]/[Y].jpg
...where Y is a forum user ID and X is the first two digits of that ID. My ID is 27145, so my link is:
https://forum.yoyogames.com/data/avatars/l/27/27145.jpg
So, to batch download *all* user's profile pics, I simply need to download each possible variation of this link. To make that easier on myself I used a Chrome extension called Simple Mass Downloader to do most of the heavy lifting. I could set a pattern URL like so:
https://forum.yoyogames.com/data/avatars/l/0/[0:999].jpg
...and it would download 0.jpg through 999.jpg in that directory. Next, I had to do the same thing for all other directories, so I copied that a bunch and made this text file with the numbers adjusted a bit (Notepad++ is great for this sort of thing!). The last step was to copy and paste each line into the pattern URL field to build my download queue and finally start downloading!
There are only about 15,000 registered users, and of those users only some have set their profile picture, so I was expecting no more than, say, 5,000 images. Since my downloading queue included *every single possible number combination* I got a bunch of "file not found" errors with proper images mixed in. In the end I received 4,190 images taking up 63.7 MB of space. That means about 30% of us have set a profile pic, which is interesting I guess.
I made a collage with each image included which you can view below. Have fun trying to find yourself!
Note that each image has been resized to 48x48 px, meaning that the few pics that were not squares were cut a bit.
I don't know what you could do with this information, I just felt like sharing.
Last edited: