Comments (4)
你好,首先手机注册后绑定邮箱后同样可以用邮箱登录的。此外, 现在豆瓣的登录界面更新了, 原来的代码已经登录不上了, 新的登录方式可以查看同文件夹下新添加的douban_login_new.py
文件。
from pythondataanalysis.
简单说一下几个读者在邮件的问题和最新的登录方法说明。
-
手机号注册的问题
好像现在注册豆瓣只能用手机号码,这其实关系不大。只要注册后再绑定邮箱就可以用邮箱登录了。 -
抓不到登录豆瓣的post数据包
这是因为页面自动跳转了,可以在F12后在右上角勾选Preserve log
, 火狐和谷歌浏览器均可:
- 新的变化
仔细对比下新旧登录文件就可以看出来改变的主要就是提交的表单内容,将表单重新构造即可。此外,测试的时候发现一个UA用多了也会出现登录不上的问题,注意改下就好。
from pythondataanalysis.
嗯,好的。我测试一下。谢谢
from pythondataanalysis.
谢谢您的及时回复。困扰我的问题解决了
from pythondataanalysis.
Related Issues (15)
- 早些使用OpenJDK, 生活会很美好 HOT 1
- 示例代码报错 HOT 1
- fake_useragent HOT 1
- 利用正则表达式提取百度首页关键词 HOT 2
- 书籍第五章,定制新闻服务的爬虫 url = http://tech.baidu.com/失效 HOT 3
- 考虑是否在书中添加简明的Github使用说明
- NO
- 关于豆瓣登陆的问题 HOT 3
- 第五章涉及到发送邮件部分问题反馈
- 爬虫多线程Myfutures执行时间为0s
- 有关代码的问题 HOT 3
- 豆瓣请求报错 HOT 4
- 对Phantomjs的Selenium支持已被弃用 HOT 1
- MxlsxClass.py文件执行报错,找不到pandas_simple.xlsx文件 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pythondataanalysis.