개발자로 나아가는 나의 언어들/PYTHON1 크롤링 테스트 from urllib.parse import quote_plus from bs4 import BeautifulSoup from selenium import webdriver baseUrl = 'https://www.google.com/search?q=' plusUrl = input('검색어를 입력하세요: ') url = baseUrl + quote_plus(plusUrl) start = 0 while true: # chromedriver path input driver = webdriver.Chrome('C:\chromedriver_win32\chromedriver') driver.get(url+'&start='+start) driver.implicitly_wait(10) html = driver.pag.. 2023. 1. 6. 이전 1 다음