问题标签 [hacker-news-api]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
21 问题
0
投票
1
回答
35
浏览
python - Hacker-News Api信息提取
当我尝试运行该程序时,它总是显示KeyError
,如果我保留一个try/except
块,则不会打印任何信息。该错误submission_dict
在标题处生成为 keyerror。在第 16 行