Skip to content
New issue

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

知乎网页改版无法使用 #4

Open
2young-2simple-sometimes-naive opened this issue Feb 20, 2019 · 4 comments
Open

知乎网页改版无法使用 #4

2young-2simple-sometimes-naive opened this issue Feb 20, 2019 · 4 comments

Comments

@2young-2simple-sometimes-naive

Traceback (most recent call last):
File "start.py", line 55, in
zhuanlan_to_pdf(slug)
File "start.py", line 31, in zhuanlan_to_pdf
cover, article_list = zl.get_result()
File "/Users/yinhan/Downloads/zhihuzhuanlan2pdf-master/zhuanlan.py", line 80, in get_result
return self._get_cover(), self._get_article_list()
File "/Users/yinhan/Downloads/zhihuzhuanlan2pdf-master/zhuanlan.py", line 64, in _get_cover
self._get_zhuanlan_info()
File "/Users/yinhan/Downloads/zhihuzhuanlan2pdf-master/zhuanlan.py", line 46, in _get_zhuanlan_info
self.zhuanlan_dict['avatar'] = json_obj['avatar']['template'].replace('{id}', json_obj['avatar']['id']).
KeyError: 'avatar'

@yegbert
Copy link

yegbert commented Sep 12, 2019

我也遇到相同的问题……

@TRISTANDDD
Copy link

t同样是这个问题,想问问怎么办

@shimachao
Copy link
Owner

t同样是这个问题,想问问怎么办

等我有时间更新一下,现在996确实没多少时间维护

@TRISTANDDD
Copy link

TRISTANDDD commented Jun 28, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants