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
tarjintor
V2EX  ›  Python

模拟登录,本地生成 cookie 和装控件才能登录,怎么办

  •  
  •   tarjintor · 2017-03-02 11:30:59 +08:00 · 1389 次点击
    这是一个创建于 2614 天前的主题,其中的信息可能已经有所发展或是发生改变。
    公司的项目需要模拟登录一些网站,现在有两种难以处理的情况
    前一种是相对简单一点的,就是这个网站会本地生成一些 cookies ,最后和登录的 data 一起倍 post ,但因为网页比较复杂, js 特别多,特别长,不知道从和找起,似乎 chrome 这种,可以单步调试,但我一直没找到这种单步调试的教程,不知道怎么搞
    后面一个我觉得就基本没希望了,就是有些网站要安装控件才能登录
    有老司机有什么指导吗?不需要各位手把手教,能给个方向就好
    mainzo
        1
    mainzo  
       2017-03-02 11:48:26 +08:00 via iPhone
    网站能检测控件,那你就伪装个假控件给它,骗过它
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5405 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 08:38 · PVG 16:38 · LAX 01:38 · JFK 04:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.