V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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 · 2013-09-16 23:18:46 +08:00 · 5917 次点击
    这是一个创建于 3873 天前的主题,其中的信息可能已经有所发展或是发生改变。
    主要是要执行页面里面的JS,并且可以监控到发送的HTTP请求。
    就像chrome的network面板一样~

    因为是服务器跑,selenium之类的开打一个浏览器的不考虑~(而且它也不支持)
    5 条回复    1970-01-01 08:00:00 +08:00
    dingyaguang117
        1
    dingyaguang117  
    OP
       2013-09-16 23:22:18 +08:00
    如果有其他语言的也行。
    phuslu
        2
    phuslu  
       2013-09-16 23:26:07 +08:00
    试下 ghost.py
    seeker
        3
    seeker  
       2013-09-16 23:36:46 +08:00   ❤️ 1
    可以看看phantomjs
    xcatliu
        4
    xcatliu  
       2013-09-16 23:39:11 +08:00
    可以试试这个http://casperjs.org/
    dingyaguang117
        5
    dingyaguang117  
    OP
       2013-09-16 23:51:12 +08:00
    @seeker 看了下 似乎可以
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5748 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 06:08 · PVG 14:08 · LAX 23:08 · JFK 02:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.