【发布时间】:2015-12-20 12:35:27
【问题描述】:
我正在尝试登录使用 Google 凭据的网站。这在我的爬虫中失败了:
def parse(self, response):
return scrapy.FormRequest.from_response(
response,
formdata={'email': self.var.user, 'password': self.var.password},
callback=self.after_login)
有什么建议吗?
【问题讨论】:
-
如果你能把整个源代码贴出来,错误是什么?
-
我设法解决了,谢谢。 :)
标签: scrapy google-authentication