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

Python 如何模拟登陆知乎(目前知乎有倒立文字的验证码)

  •  
  •   revotu · Aug 8, 2017 · 6140 views
    This topic created in 3380 days ago, the information mentioned may be changed or developed.
    好久前写过用 Python 模拟登陆知乎的脚本,但是最近发现知乎加了倒立文字的验证码

    目前有什么好思路 可以解决这个倒立文字的验证码问题么?
    11 replies  •  2017-08-09 15:14:00 +08:00
    xuezher
    xuezher
    Aug 8, 2017
    2
    超级鹰、uu 打码、打码兔。。。各种第三方打码平台,帮你解决
    leavic
    leavic
    Aug 8, 2017
    3
    用 selenium 先手工登录,然后把 cookies 传递给 requests。
    goofool
    goofool
    Aug 8, 2017
    4
    原来的 4 位验证码还可以用
    ivechan
    ivechan
    Aug 8, 2017
    5
    验证码无非就两种方案: 1. 识别(人工智能) 2.人力(人工的人工智能)
    laoyuan
    laoyuan
    Aug 8, 2017
    6
    3.机械,用机械设备模拟人工。
    fengzixu
    fengzixu
    Aug 8, 2017
    7
    你们这些年轻人,总想搞个大新闻
    CEBBCAT
    CEBBCAT
    Aug 8, 2017 via Android❤️3
    8
    @fengzixu 您这句话和楼主的提问有什么关系?
    OpenJerry
    OpenJerry
    Aug 8, 2017
    9
    我用最笨的方法,直接复制 chrome 的 cookie
    shawlib
    shawlib
    Aug 8, 2017
    10
    1.知乎的验证码出现的概率与你的异常操作成正比,一般情况不会轻易弹验证码。
    2.验证码解决方案只有两种 a.自动验证(直接刚正面) b.避免(打不过躲得过)
    3.爬虫本身是一场博弈,不要给别人的服务器造成过高的压力,该 sleep 就要 sleep
    4.解决方案 a.Python 模拟登录库:github/fuck-login b.Python 知乎非官方 oauth:github/zhihu-oauth
    revotu
    revotu
    OP
    Aug 9, 2017
    11
    @leavic
    @OpenJerry
    没想到还有这招 多谢提供思路
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   931 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 21:40 · PVG 05:40 · LAX 13:40 · JFK 16:40
    ♥ Do have faith in what you're doing.