GithubHelp home page GithubHelp logo

Comments (6)

xchaoinfo avatar xchaoinfo commented on June 27, 2024

你最后,可以登录成功吗?
错误原因是不是你的 requests 的问题? 使用 Python 3 安装最新的 requests 看是否还存在这个问题。

from fuck-login.

Sunkworld avatar Sunkworld commented on June 27, 2024

是不是用了python2...https://www.zhihu.com/question/40025043/answer/89258748

from fuck-login.

Haagaau22 avatar Haagaau22 commented on June 27, 2024

用的是python3.4,可以登录成功,就是验证登录的函数isLogin()会报错。
我将requests升级后,问题解决了。谢谢!

from fuck-login.

xchaoinfo avatar xchaoinfo commented on June 27, 2024

知乎的登录,又有了点变化,找个时间,我把程序重写下。

from fuck-login.

v-zhidu avatar v-zhidu commented on June 27, 2024

您好,我试着get这个地址captchaURL = 'http://www.zhihu.com/captcha.gif?r=146...&type=login',r值是当前的时间戳加3个随机值,但还是返回验证码会话错误。您有空能看下么? 绝不是伸手党,谢谢。

from fuck-login.

xchaoinfo avatar xchaoinfo commented on June 27, 2024

简单总结:

  1. 这个问题的出现是由于 Python 的版本低,或者 requests 的版本低。
  2. 可以通过升级 requests 的版本,如果还有问题,可以指定 SSL 的版本。最后,如果还是没有解决,那就升级你的 Python 版本吧。

from fuck-login.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.