zhihuzhuanlan2pdf icon indicating copy to clipboard operation
zhihuzhuanlan2pdf copied to clipboard

知乎网页改版无法使用

Open 2young-2simple-sometimes-naive opened this issue 6 years ago • 4 comments

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 avatar Sep 12 '19 06:09 yegbert

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

TRISTANDDD avatar Jun 26 '20 03:06 TRISTANDDD

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

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

shimachao avatar Jun 28 '20 08:06 shimachao

哈哈哈好的谢谢老板

 

------------------ 原始邮件 ------------------ 发件人: "shimachao"<[email protected]>; 发送时间: 2020年6月28日(星期天) 下午4:34 收件人: "shimachao/zhihuzhuanlan2pdf"<[email protected]>; 抄送: "邸欣雨"<[email protected]>;"Comment"<[email protected]>; 主题: Re: [shimachao/zhihuzhuanlan2pdf] 知乎网页改版无法使用 (#4)

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

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

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

TRISTANDDD avatar Jun 28 '20 11:06 TRISTANDDD