I'm using the new (in V11) function
I have a url I'd like to save to a local file, but the url is missing a (or has the incorrect) filetype extension. So I don't know how to construct the filename properly. Here's an example:
url = "http://t0.gstatic.com/images?q=tbn:ANd9GcRf1EqE2kyW12HSb9gZZ8eTIPqNgVkjFis4GkTTYONIpoQtkIde4zybZ4iAqGlIHQ_pnEX499Oa"; Import@url URLDownload[url, "~/Downloads/" <> ToString@RandomInteger]
I'd like to save it with the proper extension though. Any thoughts?
Also, URLDownload doesn't seem to be multithreaded, this is waaay too slow: