자신의 크롬 버전에 맞는 chromedriver 를 다운로드 해주고,
아래와 같이 git clone 하여 google images download 프로젝트 다운로드 한 뒤 사용하면 된다.
$ git clone https://github.com/ultralytics/google-images-download
$ cd google-images-download
$ python3 bing_scraper.py --search 'cat' --limit 10 --download --chromedriver ./chromedriver
참고로 chromedriver 다운로드는 아래에서 하면 된다.
https://chromedriver.chromium.org/downloads
ChromeDriver - WebDriver for Chrome - Downloads
Current Releases If you are using Chrome version 91, please download ChromeDriver 91.0.4472.19 If you are using Chrome version 90, please download ChromeDriver 90.0.4430.24 If you are using Chrome version 89, please download ChromeDriver 89.0.4389.23 If yo
chromedriver.chromium.org
사용중인 구글 크롬 버전 확인은 아래에서 한다.
chrome://settings/help
구글창 -> Setting -> Help -> About Google Chrome
참고자료 : https://github.com/hardikvasa/google-images-download/issues/301
Unfortunately all 20 could not be downloaded because some images were not downloadable · Issue #301 · hardikvasa/google-images
Hello, does the framework work? I just have installed it on Ubuntu 18.04 by the pip (inside the virtualenv) and when I'm trying with or without the chromimdriver I'm receiving the same mess...
github.com
'Programming > Python' 카테고리의 다른 글
[Python] Ubuntu 18.04 에서 Python3.5 빌드하여 설치하기 (2) | 2021.02.17 |
---|---|
[Python] argparse(Argument Parser) 에서 boolean 값 받기 (0) | 2021.01.14 |
[Python] pytube 이용하여 Youtube 영상 저장하기 (0) | 2020.12.28 |
[Python] GPU 지정하여 Python 코드 실행하기 (0) | 2020.11.20 |
[Python] 파일명 추출, 디렉토리 경로 추출 (3) | 2020.11.20 |