skip to Main Content

how can I scrape the subtitle from a javascript driven page with python

I am trying to scrape this site: https://www.msn.com/nl-be/nieuws/other/de-50-beste-netflix-series-volgens-the-new-york-times/ss-BB1kJC5H?rc=1&ocid=winp1taskbar&cvid=c774477be4b04494b3690631644cf5a9&ei=3#image=2 I am trying to get the title 'Friday Night Lights' but I don't seem to get past the javascript. I am using python and selenium or beautifullsoup. tried WebDriverWait(driver, 10) I used…

VIEW QUESTION

Docker – Cannot connect to chrome at 127.0.0.1:53233, This version of ChromeDriver only supports Chrome version 114. Current browser version is 127.0.6533.72

driver code: from selenium.webdriver.common.by import By from selenium.webdriver.chrome.service import Service from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as ec import undetected_chromedriver2 as uc from undetected_chromedriver2.options import ChromeOptions import time from webdriver_manager.chrome import ChromeDriverManager from selenium.webdriver.chrome.service import Service import pickle…

VIEW QUESTION

Html – Return the one part of the text under a button – Selenium Python

I'm wondering if it's possible to just return "Glenvale" from the below HTML with Selenium: Link to image I've tried using the Xpath, but that doesn't seem to work. suburb = driver.find_element(By.XPATH, '//*[@id="__next"]/div/div[2]/div/div[4]/div/div/div[8]/div/div/p/text()[6]').text below is the website: https://www.domain.com.au/2-76-shelby-street-glenvale-qld-4350-2014406153

VIEW QUESTION

Ubuntu – Why does Selenium throw an "Exec format error"?

This code throws an exception: from selenium import webdriver import time driver = webdriver.Chrome() driver.get('https://www.google.com') time.sleep(10) Here's the backtrace: Traceback (most recent call last): File "/home/orangepi/.local/lib/python3.10/site-packages/selenium/webdriver/common/selenium_manager.py", line 134, in run completed_proc = subprocess.run(args, capture_output=True) File "/usr/lib/python3.10/subprocess.py", line 503, in run…

VIEW QUESTION
Back To Top
Search