구글 이미지 다운로드(크롤링) 방법 (2020/07 New ver.)
카테고리 없음2020. 7. 8. 09:18
Selenium 보다 이게 더 편한 듯?
from google_images_download import google_images_download #importing the libraryfrom google_images_download import google_images_download #importing the library
response = google_images_download.googleimagesdownload() #class instantiation
arguments = {"keywords":"Polar bears,baloons,Beaches","limit":20,"print_urls":True} #creating list of arguments
paths = response.download(arguments) #passing the arguments to the function
print(paths) #printing absolute paths of the downloaded images
feat. 여기저기 다 막는구먼..