Giter Site home page Giter Site logo

Comments (3)

shenxiangzhuang avatar shenxiangzhuang commented on July 28, 2024

你好,不知道你说的哪个文件?我刚才测试了一下douban_login.py,我这里是正常的,并没有复现你的错误。你这里的错误可能是因为没有正常登录,所以获取登录后的内容会出错,可以尝试着把Github上的示例代码填上自己的帐号密码直接运行下看看。

from pythondataanalysis.

kenneth663 avatar kenneth663 commented on July 28, 2024

是豆瓣登陆的那个文件,错误是这个变量mydata = soup.select('#display')[0].get_text(),我试着用xpath解析一下吧

from pythondataanalysis.

shenxiangzhuang avatar shenxiangzhuang commented on July 28, 2024

之前是没有问题的,现在豆瓣的登录界面更新了, 原来的代码已经登录不上了,所以会重新导致上面的问题。新的登录方式可以查看同文件夹下新添加的douban_login_new.py文件。

from pythondataanalysis.

Related Issues (15)

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.