We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
输入完密码,报错
60 response = self.get(url or URL.index()) 61 soup = BeautifulSoup(response.content, "lxml") ---> 62 xsrf = soup.find('input', attrs={"name": "_xsrf"}).get("value") 63 return xsrf 64 AttributeError: 'NoneType' object has no attribute 'get'
60 response = self.get(url or URL.index()) 61 soup = BeautifulSoup(response.content, "lxml") ---> 62 xsrf = soup.find('input', attrs={"name": "_xsrf"}).get("value") 63 return xsrf 64
AttributeError: 'NoneType' object has no attribute 'get'
我打印过html, 确实没有'input', attrs={"name": "_xsrf"}这样的标签。 如果用try语句跳过,可以显示验证码,但是输入验证码之后还是报错。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
输入完密码,报错
我打印过html, 确实没有'input', attrs={"name": "_xsrf"}这样的标签。
如果用try语句跳过,可以显示验证码,但是输入验证码之后还是报错。
The text was updated successfully, but these errors were encountered: