skip to Main Content

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

Html – Selenium Scrape Issue

I am building a web scraper that scrapes the beatport top 100. I am having an issue where some items are located, but others get an error. def scrape_beatport(): user_agent = UserAgent().random chrome_options = Options() chrome_options.add_argument(f"user-agent={user_agent}") driver = webdriver.Chrome(options=chrome_options) try:…

VIEW QUESTION
Back To Top
Search