1
0
mirror of https://github.com/djohnlewis/stackdump synced 2024-12-04 15:07:36 +00:00

Updated icon retrieval URL to fix 404 errors

This commit is contained in:
Skylar Ittner 2016-04-21 01:23:32 +00:00
parent 6a7b8ea432
commit dcc7203c97

View File

@ -43,5 +43,5 @@ with open(sites_file_path) as f:
site_key = site_key[:-len('.stackexchange')]
print 'Downloading logo for %s...' % entry_title,
urllib.urlretrieve('http://sstatic.net/%s/img/icon-48.png' % site_key, os.path.join(logos_dir_path, '%s.png' % site_key))
urllib.urlretrieve('http://cdn.sstatic.net/Sites/%s/img/icon-48.png' % site_key, os.path.join(logos_dir_path, '%s.png' % site_key))
print 'done.'