Bite Bits/Python
Python + Selenium + chromedriver 로 Daum 웹툰 다운받기
상영
2017. 2. 14. 09:46
실행 환경 :
* MS Windows 7 (64 bit)
* Python 3.5 - 32bit
Selenium package 설치 필요 => Dos 창에서 C:\Python35-32\Scripts> pip install selenium
* ChromeDriver 2.27 (Download : https://sites.google.com/a/chromium.org/chromedriver/downloads)
Supports Chrome v54-56 => ( ChromeDriver 버전에 맞는 Chrome 브라우져가 설치되어 있어야 함. )
다운받은 chromedriver.exe 는 python 소스 내에서 해당 위치를 지정해야 함. (절대경로 or 상대경로)
예) webdriver.Chrome(executable_path="./chromedriver.exe")
참고 사이트
* http://www.seleniumhq.org/docs/03_webdriver.jsp
* http://selenium-python.readthedocs.io/index.html
소스코드 : https://github.com/to302/DaumWebtoonRetriever
* 2017-02-14 진행 중