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
错误报告如下,应该是知乎换了格式了 Traceback (most recent call last): File "./crawl.py", line 19, in print "\nQuestion " + ": " + answer.get_question().get_title() + "\n" File "filepath/zhihu.py", line 1070, in get_question question_link = soup.find("h2", class_="zm-item-title zm-editable-content").a AttributeError: 'NoneType' object has no attribute 'a'
The text was updated successfully, but these errors were encountered:
修改一下class属性值就行。 class_="zm-item-title"
Sorry, something went wrong.
No branches or pull requests
错误报告如下,应该是知乎换了格式了
Traceback (most recent call last):
File "./crawl.py", line 19, in
print "\nQuestion " + ": " + answer.get_question().get_title() + "\n"
File "filepath/zhihu.py", line 1070, in get_question
question_link = soup.find("h2", class_="zm-item-title zm-editable-content").a
AttributeError: 'NoneType' object has no attribute 'a'
The text was updated successfully, but these errors were encountered: