seleniumとBeautifulSoupを使う
インストール
pip install beautifulsoup4 pip install selenium
コード
# SeleniumでChromeブラウザを開く
driver = webdriver.Chrome()
# ページにアクセスする
driver.get("https://minkabu.jp/pick/balance/buy")
# ページのHTMLを取得し、Beautiful Soupで解析する
html = driver.page_source
soup = BeautifulSoup(html, 'html.parser')
ret = soup.find_all(id=lambda x: x and x.startswith('dayLabel_'))