用selenium及phantomjs 的路徑要寫對喔

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

pip install selenium




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



然後
python3 3865.py


就出來了

會去爬這網頁







留言

這個網誌中的熱門文章

唐人傳奇

git 10 分鐘入門

佛教心靈哲學與心理治療 Buddhist Philosophy of Mind and Mental Healing