From dcc7203c9741c7d779bcdff7b8b6d09cae502d93 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Thu, 21 Apr 2016 01:23:32 +0000 Subject: [PATCH] Updated icon retrieval URL to fix 404 errors --- python/src/stackdump/commands/download_site_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/stackdump/commands/download_site_info.py b/python/src/stackdump/commands/download_site_info.py index 3dbf62c..751fb16 100644 --- a/python/src/stackdump/commands/download_site_info.py +++ b/python/src/stackdump/commands/download_site_info.py @@ -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.'