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/

  

相关文章:

  • 2021-11-29
  • 2021-12-03
  • 2021-11-13
  • 2021-09-24
  • 2021-12-17
  • 2021-05-29
猜你喜欢
  • 2021-12-09
  • 2021-10-03
  • 2021-10-05
  • 2021-11-12
  • 2021-09-28
  • 2021-08-13
  • 2021-09-17
相关资源
相似解决方案