불친절한 블로그

[R] 셀레니움으로 크롤링 본문

Project/데이터 크롤링

[R] 셀레니움으로 크롤링

오누! 2020. 3. 31. 14:01
728x90
반응형

1. selenium 다운

https://selenium.dev/downloads/

 

Downloads

Firefox GeckoDriver is implemented and supported by Mozilla, refer to their documentation for supported versions. Internet Explorer Only version 11 is supported, and it requires additional configuration. Safari SafariDriver is supported directly by Apple,

www.selenium.dev

 

2. geckodriver 다운

https://github.com/mozilla/geckodriver/releases

 

mozilla/geckodriver

WebDriver for Firefox. Contribute to mozilla/geckodriver development by creating an account on GitHub.

github.com

 

3. chromeDriver 다운

https://sites.google.com/a/chromium.org/chromedriver/

 

ChromeDriver - WebDriver for Chrome

WebDriver for Chrome

sites.google.com

 

4. selenium 세팅

1) 경로선택

C:\selenium 폴더생성

2) cmd창에 경로이동 후 java -Dwebdriver.gecko.driver="geckodriver.exe" -jar selenium-server-standalone-3.141.59.jar -port 4445를 입력한다.

3) rstudio 실행 후 웹크롤링

728x90
반응형
Comments