This might be a bit neater if you do the try except around a `from ... import urlretrieve` at the top of the file, and just have a simple call here.