功能:自動復制粘貼網頁上的一些文字,
基礎配置:
本專案使用selenium模塊,瀏覽器使用的是火狐,
1.下載geckodriver,地址https://github.com/mozilla/geckodriver/releases
2.將適配的安裝包放置在火狐瀏覽器的安裝路徑、Python的Stricpts檔案夾
3.將火狐的安裝路徑添加到電腦環境變數的用戶變數的path中,
參見:
https://github.com/stay-leave/CNKI-selenium-crawler
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/403159.html
標籤:python
下一篇:在標記中斷時設定ylim
