python Web抓取WebDriverException Traceback(最近调用的最后一次)

piv4azn7  于 2023-04-28  发布在  Python
关注(0)|答案(1)|浏览(118)
from bs4 import BeautifulSoupgives 
from selenium import webdriver
import requests
import statistics

from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager

options = webdriver.ChromeOptions()
options.binary_location = r"C:\Program Files\Google\Chrome\Application\chrome.exe"
chrome_driver_binary = r"C:\Users\Константин\Downloads\chromedriver_win32\chromedriver.exe"
driver = webdriver.Chrome(chrome_driver_binary, chrome_options=options)
driver.get('https://russiabasket.ru/teams/718?apiUrl=https://asb.infobasket.su&compId=45595&lang=ru')
1l5u6lss

1l5u6lss1#

由于您没有指定问题,我只是运行了您的代码,这是我发现的一个错误。

from bs4 import BeautifulSoupgives

应该是

from bs4 import BeautifulSoup

一定是错别字,希望这有帮助,实际上是你的问题!

相关问题