
Here’s a collage I did of the sites in the xxiivv webring. Screenshots were taken and downloaded using this script I hacked up:
import requests
import json
import time
with open("sites.json", "r") as read_file:
sites = json.load(read_file)
x = -1
for site in sites:
x += 1
print(x, site['url'])
try:
r = requests.get("http://image.thum.io/get/noanimate/" + site['url'])
except:
time.sleep(2)
r = requests.get("http://image.thum.io/get/noanimate/" + site['url'])
title = ""
try:
title = "_" + site['title'].replace('\\', '')
except:
pass
with open('images/' + str(x) + title + '.png', 'wb') as f:
f.write(r.content)
They were then fed into this collage maker script to produce the output. Some sites displayed as blank; the only way to work around that would be to use thum.io‘s /wait/ feature; unfortunately that’s only for their registered plans. It still came out neat and I now know of a quick way to make collages.