강의

멘토링

커뮤니티

Cộng đồng Hỏi & Đáp của Inflearn

Hình ảnh hồ sơ của 8627jjy1265
8627jjy1265

câu hỏi đã được viết

Python pyautogui, kiến ​​thức cơ bản về thu thập thông tin beautifulsoup để tự động hóa tác vụ

Cập nhật 2022 - Python Web crawling: Lấy kết quả tìm kiếm thứ hạng bảng xếp hạng thời gian thực Melon TOP100 - Cách sử dụng cơ bản beautifulsoup, requests

에러가 뜹니다

Viết

·

211

0

from urllib.parse import quote_plus
from bs4 import BeautifulSoup
from selenium import webdriver

baseUrl = 'https://www.google.com/search?q='
plusUrl = input('무엇을 검색할까요? :')
url = baseUrl + quote_plus(plusUrl)

driver = webdriver.Chrome()
driver.get(url)
이렇게 처는데, 에러가 납니다
어떻게 하나요
에러:
DevTools listening on ws://127.0.0.1:62649/devtools/browser/fb7d8021-fd21-4ef6-98ae-84ba89f7e745 Traceback (most recent call last): File "c:\Users\user\Desktop\crawling\구글_크롤링.py", line 9, in <module> driver = webdriver.Chrome() File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 76, in __init__ RemoteWebDriver.__init__( File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in __init__ self.start_session(capabilities, browser_profile) File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute self.error_handler.check_response(response) File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 87 Current browser version is 86.0.4240.193 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe
웹-크롤링python

Câu trả lời

Câu hỏi này đang chờ câu trả lời
Hãy là người đầu tiên trả lời!
Hình ảnh hồ sơ của 8627jjy1265
8627jjy1265

câu hỏi đã được viết

Đặt câu hỏi