phost.py 爬虫

---------------------------- install --------------------------------------

1. 下载pyqt http://www.riverbankcomputing.co.uk/software/pyqt/download

2.  pip install Flask

     pip install paste3. pip install Ghost.py

4. 测试 from ghost import Ghost

--------------------------- spider --------------------------------------------

from ghost import Ghost
ghost = Ghost(wait_timeout=999)#不然就报错了
page, resources = ghost.open('http://www.ustc.edu.cn')



原文地址:https://www.cnblogs.com/shyustc/p/4391230.html