TypeError: Object of type Response is not JSON serializable

import requests
from selenium import webdriver
from bs4 import BeautifulSoup
import json

driver = webdriver.Chrome(r’C:\chromedriver_win32’)


url = requests.get(‘https://stockplus.com/m/stocks/KOREA-A005930/analysis’)

driver = driver.get(url)

html = driver.page_source
soup = BeautifulSoup(“html.parser”)
proList = soup.find_all(“div”, {“class”: “marketPriceW”})


i want to read all web html,
but can’t read children div

also can’t handle error . need help


Did you execute the script in a GitHub Actions workflow? if so, please share your repository with us so that we can check more detailed configurations related the workflow to analyze the root cause.

I recommend that you can execute the script on your local machine at first to make sure it can work locally.

In addition, the GitHub community’s GitHub Actions board is used for the discussions and questions about GitHub Actions.
If you need help with anything related to workflow configuration, such as syntax, GitHub-hosted runners, or building actions, you can look for an existing topic or start a new one in this board.