推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
dingyaguang117
V2EX  ›  Python

如何使用python运行一个webkit核心加载某个页面,从而监控到页面的所有请求?

  •  
  •   dingyaguang117 ·
    dingyaguang117 · Sep 16, 2013 · 6637 views
    This topic created in 4758 days ago, the information mentioned may be changed or developed.
    主要是要执行页面里面的JS,并且可以监控到发送的HTTP请求。
    就像chrome的network面板一样~

    因为是服务器跑,selenium之类的开打一个浏览器的不考虑~(而且它也不支持)
    5 replies  •  1970-01-01 08:00:00 +08:00
    dingyaguang117
        1
    dingyaguang117  
    OP
       Sep 16, 2013
    如果有其他语言的也行。
    phuslu
        2
    phuslu  
       Sep 16, 2013
    试下 ghost.py
    seeker
        3
    seeker  
       Sep 16, 2013   ❤️ 1
    可以看看phantomjs
    xcatliu
        4
    xcatliu  
       Sep 16, 2013
    可以试试这个http://casperjs.org/
    dingyaguang117
        5
    dingyaguang117  
    OP
       Sep 16, 2013
    @seeker 看了下 似乎可以
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1012 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 23:27 · PVG 07:27 · LAX 16:27 · JFK 19:27
    ♥ Do have faith in what you're doing.