【python爬蟲】利用selenium獲取百度搜索結果及標紅的相關關鍵字

1、環境搭建 1. 安裝chromedriverhtml brew cask install chromedriver 2. 安裝seleniumpython pip3 install selenium 3. 安裝beautifulsoup4web pip3 install beautifulsoup4 4. 用如下代碼測試chrome from selenium import webdriver
相關文章
相關標籤/搜索