Python ghost.py 0.2版简单实例
from ghost import Ghost ghost = Ghost() with ghost.start() as session: page, extra_resources = session.open("http://www.baidu.com") if page.http_status == 200 and 'accountName' in page.content: print(page.content) 具体区别看文档:http://ghost-py.readthedocs.io/en/latest/
posted on 2018-11-14 20:25 缺陷催生进化,完美预示终结 阅读(804) 评论(0) 编辑 收藏 举报