2016年4月24日 星期日

用selenium及phantomjs 的路徑要寫對喔

要先安裝好selenium及下載解壓phantomjs

pip install selenium




3865.py跟phantomjs-2.1.1-macosx同一路徑,要執行bin裡的phantomjs這樣寫



然後
python3 3865.py


就出來了

會去爬這網頁







沒有留言:

張貼留言