개인 프로젝트 도중 이미지 크롤링이 필요하게되어 찾던중
파이썬&셀레니움의 구글 이미지 크롤링은 많으나
제가 좋아하는 노드와 셀레니움 조합의 구글 이미지 크롤링은 레퍼런스를 찾지 못해 개발했습니다.
필요하신분 쓰세요!
Google Image Crawling on NodeJS with Selenium
These are the versions I used.
nodejs
:^16.13.2
- npm -
https
:^1.0.0
- npm -
selenium-webdriver
:^4.1.1
ChromeDriver
:98.0.4758.102
- Install
NodeJS
https://nodejs.org/ko/
- Clone or Download this code
git clone https://github.com/ppojun/nodejs_google_image_crawling_selenium
- Download chromedriver(Make it the same as your Chrome version.) and put where you downloaded this code.
- Open file index.js
- Change the last line to the word you want to search for.
- Run
npm i https
on terminal - Run
npm i selenium-webdriver
on terminal - Run
npm start
ornode index.js
on terminal
You can contact me via e-mail (120106@naver.com or hka120106@gmail.com).
The class is licensed under the MIT License
Copyright © 2022 ppojun
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.