selenium으로 업비트에 접속 시 다음 창으로 넘어가지 않습니다
조회수 1112회
import time, os, sys, re, telegram, requests, pyupbit
from bs4 import BeautifulSoup
from selenium import webdriver
driver = webdriver.Chrome('C:\Program Files\Google\Chrome\Application\chromedriver')
driver.get( "https://upbit.com/service_center/disclosure")
time.sleep(10)
html = driver.page_source
soup=BeautifulSoup(html, 'html.parser')
print(soup.text)
대략 이런 식으로 업비트 공시 내용을 긁어오고 싶습니다. BeautifulSoup으로 갖고 오자니 잠시만 기다려주세요 페이지의 내용을 갖고옵니다. 그래서 Selenoum으로 하려고 했는데 잠시만 기다려주세요 페이지에서 다음으로 넘어가지를 않네요. 업비트에서 Selenium으로 실행하는 브라우저는 정상적인 브라우저로 인식하지 않는 것 같습니다. 이런 경우 어떻게 해야할까요?
-
(•́ ✖ •̀)
알 수 없는 사용자
댓글 입력