import requests
URL = 'https://pp.vk.me/c540104/c624218/v624218602/3321/uYVa4FQv_q0.jpg'
r = requests.get(URL)
with open(filename, 'wb') as fd:
for chunk in r.iter_content(<int:chunk_size>):
fd.write(chunk)
import requests
url='https://pp.vk.me/c540104/c624218/v624218602/3321/uYVa4FQv_q0.jpg'
filename='toster.jpg'
response=requests.get(url)
if response.status_code==200:
with open(filename,'wb') as imgfile:
imgfile.write(response.content)
import os
link = 'https://pp.vk.me/c540104/c624218/v624218602/3321/uYVa4FQv_q0.jpg'
os.system('wget %s'% link)