Notice
Recent Posts
Recent Comments
Link
목록investing (1)
삶의 공유

크롬으로 실행 후 investing.com에서 미국 소비자 물가지수 들어감 (url : https://kr.investing.com/economic-calendar/cpi-733) 1) 빨간색 화살표 영역 선택 하면 좌측 표 전체 선택이 됨 2) 빨간 화살표 영역 선택 후 마우스 우클릭 -> copy -> copy xPath 클릭 3) selenium module의 webdriver를 이용하여 find_element_by_xpath 이용 import pandas as pd from selenium import webdriver # chrome 실행 driver = webdriver.Chrome(r'/Users/swk/Downloads/chromedriver') # 해당 링크로 접속 driver.get('..
Data Scientist/Python
2021. 8. 12. 10:21