선생님 안녕하세요.
웹강 프리패스 수강생입니다. 제가 사정상 급하게 크롤링관련 공부를 하게되서, 아직 수강전이지만 혼공하다가 막히는게 있있어 질문드리게 되었습니다. 혹여 실례가 안된다면 간단한 언지라도 주실수 있으실까요? ㅜ
계속 아래와 같은 에러가 나는데 보통 어디를 체크해야 하면 좋을까요?
구글창이 뜨면서 이미지 검색후 더보기가 없는 끝까지 간후, 이미지가 따로 저장이 안됩니다..

원 코드 입니다.
from selenium import webdriver
from urllib.request import urlopen
from bs4 import BeautifulSoup as bs
from urllib.parse import quote_plus
from selenium.webdriver.common.keys import Keys
import time
import urllib.request
driver = webdriver.Chrome('C:\myapp\chromedriver.exe') # 여기에 크롬드라이브 다운로드 받은 경로를 입력한다.
driver.get("https://www.google.co.kr/imghp?hl=ko&ogbl")
elem = driver.find_element_by_name("q")
elem.send_keys("flying birds")
elem.send_keys(Keys.RETURN)
SCROLL_PAUSE_TIME = 1
last_height = driver.execute_script("return document.body.scrollHeight")
while True:
driver.execute_script("window.scrollTo(0, document.body.scrollHeight);")
time.sleep(SCROLL_PAUSE_TIME)
new_height = driver.execute_script("return document.body.scrollHeight")
if new_height == last_height:
try:
driver.find_element_by_css_selector(".mye4qd").click()
except:
break
last_height = new_height
images = driver.find_elements_by_css_selector(".rg_i.Q4LuWd")
count = 1
for image in images:
try:
image.click()
time.sleep(2)
imgUrl = driver.find_element_by_xpath('/html/body/div[2]/c-wiz/div[3]/div[2]/div[3]/div/div/div[3]/div[2]/c-wiz/div/div[1]/div[1]/div/div[2]/a/img').get_attribute("src")
urllib.request.urlretrieve(imgUrl, str(count) + ".jpg")
count = count + 1
except:
pass
driver.close()