Geralt-TYH / obsidian-zhihu-crawler

69 stars 7 forks source link

之前一直运作良好,近期运行过程中出现了错误 #9

Open ETong020 opened 5 months ago

ETong020 commented 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'