Friday, December 31, 2021

[python 反爬蟲原理與繞過實戰] 第三方庫安裝

Requests (http 請求庫)

pip install requests

Selenium (web 應用程序測試工具)

pip install selenium

瀏覽器驅動

ChromeDriver

查詢版本 

版本 1.33.106 Chromium: 96.0.4664.110 (正式版本) (64 位元)

下載並執行

sudo mv chromedriver /usr/bin/

Firefox
geckodriver --version

Splash 異步 JavaScript 渲染服務

從 dockerHub 中拉取 Splash

sudo docker run -it -p 8050:8050 scrapinghub/splash

http://localhost:8050

Puppeteer (Google 出的 Node.js 庫)

pip install pyppeteer


安裝

https://ithelp.ithome.com.tw/articles/10233316

https://github.com/tesseract-ocr/tesseract

https://officeguide.cc/tesseract-open-source-ocr-engine-tutorial-examples/






cuDNN (深度神經網路庫)

No comments:

Post a Comment

n8n index

 【n8n免費本地端部署】Windows版|程式安裝x指令大補帖  【一鍵安裝 n8n】圖文教學,獲得無限額度自動化工具&限時免費升級企業版功能