推荐学习书目
› 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
lszxlong
V2EX  ›  Python

Python 有获取加载完页面又去做别的请求的方法吗?

  •  
  •   lszxlong · Dec 24, 2015 · 3176 views
    This topic created in 3971 days ago, the information mentioned may be changed or developed.
    比如 Chrome 的 network 列表。
    5 replies  •  2015-12-25 10:43:33 +08:00
    lszxlong
    lszxlong
    OP
    Dec 24, 2015
    1
    后续发生的 AJAX 请求也能捕捉到
    lszxlong
    lszxlong
    OP
    Dec 24, 2015
    2
    标题说的有点模糊,就是页面加载完了之后,后续的请求都可以捕捉到,都能记录下,请求的地址,以及请求返回的内容,不知道 spynner 能否做到,或者是 selenium
    just1
    just1
    Dec 24, 2015 via Android
    3
    楼主想做请求分析?关注下
    c742435
    c742435
    Dec 25, 2015 via Android
    4
    用 session 确定用户身份?
    quietin
    quietin
    Dec 25, 2015
    5
    用 selenium 能捕捉 ajax ,但能否拿到地址就不好说了,不确定是否记录地址,理论上是有的。判断是否加载完页面,可以通过在 selenium 里运行 js 代码来达到目的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1535 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 07:27 · PVG 15:27 · LAX 23:27 · JFK 02:27
    ♥ Do have faith in what you're doing.