Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

KeyError: ‘mblog' 是什么原因呢? #5

Open
konglq1025 opened this issue Mar 4, 2020 · 1 comment
Open

KeyError: ‘mblog' 是什么原因呢? #5

konglq1025 opened this issue Mar 4, 2020 · 1 comment

Comments

@konglq1025
Copy link

您好!以下这个错误是什么原因呢?
def writedb(tweets,page):
for tweet in tweets:
temp = [0 for i in range(11)]
temp[0] = tweet['mblog']['id']
KeyError: ‘mblog'
非常感谢,期待您的回复。

@MrXUXjhub
Copy link

您好!以下这个错误是什么原因呢? def writedb(tweets,page): for tweet in tweets: temp = [0 for i in range(11)] temp[0] = tweet['mblog']['id'] KeyError: ‘mblog' 非常感谢,期待您的回复。
请问你解决了吗?这个问题是什么原因?

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

No branches or pull requests

2 participants