python format
![[Python] Selenium을 사용한 크롤링 제작(1)](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdna%2FdfcgSb%2FbtrLFg3LBSr%2FAAAAAAAAAAAAAAAAAAAAANCjaeZDXyvhifJeXNHwwJzTacwR7ueb_jxo1nFdf62O%2Fimg.png%3Fcredential%3DyqXZFxpELC7KVnFOS48ylbz2pIh7yKj8%26expires%3D1753973999%26allow_ip%3D%26allow_referer%3D%26signature%3DlTptGYmHYyikT%252B1pUKE0Blw7y5g%253D)
[Python] Selenium을 사용한 크롤링 제작(1)
Install 일반적인 설치과정과 동일하게 "pip install selenium"을 사용하여 설치할 수 있다. Import import requests from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By import time Code "봇이 아니라 사람이야"를 알려주기 위해 user_agent를 추가한 후 webdriver 객체를 생성한다. (webdriver를 동일 경로 내에 위치시켜 별도의 경로 지정 코드는 추가하지 않았다.) user_a..