Python/Python Programming

[Python] Website image download

Pydole 2019. 10. 11. 20:36

urllib.request.urlretrieve : URL 객체를 로컬로 복사

 


import urllib.request
urllib.request.urlretrieve("http://site/image.png", 'image.png')