How to scrape the Javascript based site https://marketchameleon.com/Calendar/Earnings using Selenium and Python?
问题 I am trying to get earning dates from https://marketchameleon.com/Calendar/Earnings The site has a javascript loader that loads the earnings table, but when I am using selenium it is not appears. I tried chrome and firefox drivers. a sample of the code: firefox_driver_path = os.path.abspath('../firefoxdriver_win32/geckodriver.exe') options = webdriver.FirefoxOptions() options.add_argument("--enable-javascript") driver = webdriver.Firefox(executable_path=firefox_driver_path, options=options)