https://beomi.github.io/2017/02/27/HowToMakeWebCrawler-With-Selenium/
https://beomi.github.io/2017/02/27/HowToMakeWebCrawler-With-Selenium/
http://sacko.tistory.com/15?category=643535
νμ΄μ¬ λ€μ΄λ‘λ
νμ΄μ°Έ λ€μ΄λ‘λ
νμ΄μ°Έ μ€ν ν File > Settings > Project > Project Interpreter
- λ²νΌ λλ₯΄κ³ 2κ° μ€μΉ selenium μΉ μλν λꡬ beautifulsoup4
- ν¬λ‘¬λλΌμ΄λ² λ€μ΄λ‘λ
https://sites.google.com/a/chromium.org/chromedriver/downloads
chromedriver_win32.zip
C:\Users\lst\Desktop\chromedriver_win32\chromedriver.exe
C:\Users\lst\Desktop\chromedriver_win32\chromedriver.exe
https://homoefficio.github.io/2015/09/23/Selenium-%EA%BF%80%ED%8C%81/
http://docs.seleniumhq.org/download/ > Selenium IDE
https://github.com/login
*Selenium κ²½κ³ μ°½ μμ±μ ν΄κ²°λ°©λ² https://stackoverflow.com/questions/19003003/check-if-any-alert-exists-using-selenium-with-python
- λ²μΆμΌνκ²½μ€μ pip install virtualenv
virtualenv z_venv
cd C:\Python\Python37\Scripts\z_venv\Scripts
activate.bat
# requirements.txt λ΄μ λͺ μλ λΌμ΄λΈλ¬λ¦¬λ€μ ν λ²μ μ€μΉνκΈ°
pip freeze > requirements.txt
pip install --requirement requirements.txt
# νΉμ
pip install -r requirements.txt
*selenium ν€μΈλ²€νΈ
http://blog.naver.com/PostView.nhn?blogId=kkrdiamond77&logNo=221172749831&parentCategoryNo=&categoryNo=68&viewDate=&isShowPopularPosts=false&from=postView
*ν¬ν js https://beomi.github.io/2017/09/28/HowToMakeWebCrawler-Headless-Chrome/ http://penguingoon.tistory.com/30
http://freeprog.tistory.com/41
https://junistory.blogspot.com/2017/08/phantomjs-casperjs.html
*ν¬ν jsμ¬μ© submit https://stackoverflow.com/questions/9246438/how-to-submit-a-form-using-phantomjs
#
cd ~
python -m venv venv
pip install -r requirements.txt
pip uninstall -r requirements.txt -y
# selenium using same session
chrome://version
C:\Program Files\Google\Chrome\Application\chrome.exe --remote-debugging-port=9222
C:\Program Files\Google\Chrome\Application
chrome.exe --remote-debugging-port=9222 --user-data-dir="C:\DEV\tools\automation\was\chrome_profile"
C:\Program Files\Google\Chrome\Application\chrome.exe --remote-debugging-port=9222 --user-data-dir="C:\DEV\tools\automation\was\chrome_profile"
C:\Users\osryu\AppData\Local\Google\Chrome\User Data\Default
C:\DEV\tools\automation\was
cd C:\DEV\tools\automation\public
chromedriver.exe --remote-debugging-port=9515 --user-data-dir="C:\DEV\tools\automation\was\chrome_profile"
https://developers.google.com/youtube/v3/docs/search/list?hl=ko&apix_params=%7B%22part%22%3A%5B%22id%22%2C%22snippet%22%5D%2C%22q%22%3A%22BTS%22%2C%22regionCode%22%3A%22KR%22%2C%22prettyPrint%22%3Afalse%7D
β - python-pyinstaller - android β