https://pypi.org/project/pycurl/
http://pycurl.io/docs/latest/
http://pycurl.io/
3.5+
import pycurlfile_name = 'fb.ico'file_src = 'https://www.facebook.com/favicon.ico'with open(file_name, 'wb') as f:cl = pycurl.Curl()cl.setopt(cl.URL, file_src)cl.setopt(cl.WRITEDATA, f)cl.perform()cl.close()
