Table of contents
Selenium Basics
下載 Selenium
使用方式
ElementNotInteractable Exception
發生原因
解決方式
Selenium Middleware
安裝 scrapy_selenium
新增一個 Project 和 Spider,並將 chromedriver 放進去
調整
settings.py
使用 scrapy_selenium 爬取網頁資料(
https://duckduckgo.com
)
使用 scrapy_selenium 爬取網頁的 pagination(分頁) 資料(
https://slickdeals.net/computer-deals/)