Open ETong020 opened 5 months ago
Exception in Tkinter callback
Traceback (most recent call last):
File "/Users/etongq/anaconda3/envs/text1/lib/python3.10/tkinter/init.py", line 1921, in call return self.func(*args)
File "/Users/etongq/PycharmProjects/WorkZhihu/obsidian-zhihu-crawler-master/gui.py", line 64, in clip content = get_single_answer_content(url)
File "/Users/etongq/PycharmProjects/WorkZhihu/obsidian-zhihu-crawler-master/main.py", line 147, in get_single_answer_content answercontent = soup.find('div', class="AnswerCard").find("div", class_="RichContent-inner")
AttributeError: 'NoneType' object has no attribute 'find'
Exception in Tkinter callback
Traceback (most recent call last):
File "/Users/etongq/anaconda3/envs/text1/lib/python3.10/tkinter/init.py", line 1921, in call return self.func(*args)
File "/Users/etongq/PycharmProjects/WorkZhihu/obsidian-zhihu-crawler-master/gui.py", line 64, in clip content = get_single_answer_content(url)
File "/Users/etongq/PycharmProjects/WorkZhihu/obsidian-zhihu-crawler-master/main.py", line 147, in get_single_answer_content answercontent = soup.find('div', class="AnswerCard").find("div", class_="RichContent-inner")
AttributeError: 'NoneType' object has no attribute 'find'