mirror of
https://github.com/djohnlewis/stackdump
synced 2024-12-04 23:17:37 +00:00
Updated icon retrieval URL to fix 404 errors
This commit is contained in:
parent
6a7b8ea432
commit
dcc7203c97
@ -43,5 +43,5 @@ with open(sites_file_path) as f:
|
|||||||
site_key = site_key[:-len('.stackexchange')]
|
site_key = site_key[:-len('.stackexchange')]
|
||||||
|
|
||||||
print 'Downloading logo for %s...' % entry_title,
|
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.'
|
print 'done.'
|
||||||
|
Loading…
Reference in New Issue
Block a user