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

兄弟们,现在遇到一个问题,去哪儿机票中的请求头 pre 参数怎么破解出来的

  •  
  •   luzhizheng · Jul 9, 2019 · 2457 views
    This topic created in 2646 days ago, the information mentioned may be changed or developed.
    去哪儿国际机票搜索出来以后,看其中传输的 api,json 文件,请求的时候会带上 pre 参数,是页面 js 加载出来的,有谁知道怎么破解吗
    2 replies  •  2019-07-25 17:01:11 +08:00
    txy3000
        1
    txy3000  
       Jul 11, 2019 via Android
    浏览器 调试单步分析 js 咯 还能怎么办 要不你用 senlenium 模拟浏览器行为
    luzhizheng
        2
    luzhizheng  
    OP
       Jul 25, 2019
    @txy3000 太慢了啊,调用浏览器是下下策,现在有新问题,请求机票详情页,获取价格的时候,有一个 bp 参数,不知道怎么生成的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   753 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 20:35 · PVG 04:35 · LAX 13:35 · JFK 16:35
    ♥ Do have faith in what you're doing.