聯合知識庫爬蟲程式

Selenium套件

可爬取某關鍵字新聞的標題及內容並輸出成文字檔(txt)

python3 -m pip install 'selenium==4.16.0'
python3 -m pip install webdriver-manager

下載你的瀏覽器版本的driver

e.g. chrome driver https://googlechromelabs.github.io/chrome-for-testing/