Python언어에서 Selenium을 이용하여 이미지 크롤링을 할때에 이미지를 다운받는 폴더를 설정하고 다운받는 파일의 이름을 설정하는 함수에대해 알아보겠다. urllib.request.urlretrieve(imgUrl, 'filePath'+'fileName'+".fileForm")
Selenium
![](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbghVHB%2Fbtre4Ox9pnZ%2FTKjFn2zJQXKCg1yKIyIcpk%2Fimg.png)
파이썬을 이용하여 이미지 크롤링 후 다운로드하는 것 까지 해보겠다. 프로젝트 진행 전 필요한 개발환경으로는 아래의 3가지가 필요하다. 0. Python 설치 1. VSCode설치 2. Python 가상 환경 설정 3. 크롬 드라이버다운 0. Python 설치 - 아래의 링크로 가 자신의 운영체제에 맞는 파이썬을 설치하면 된다. www.python.org/downloads/ Download Python The official home of the Python Programming Language www.python.org 1. VSCode설치 - 아래의 링크로 들어가 자신의 운영체제에 맞는 VS Code를 설치하면 된다. code.visualstudio.com/ 2. Python 가상환경 설정 - 다운받은..