【发布时间】:2019-04-13 13:04:47
【问题描述】:
while(cnt<=10):
... tweets = api.search(keyword)
File "<stdin>", line 2
tweets = api.search(keyword)
^
IndentationError: expected an indented block
我不知道为什么会出现这个问题。请帮忙
【问题讨论】:
-
嗯.. 显然你需要修复你的缩进。很难说这里发生了什么,这些点 (
...) 是您来源的一部分吗?
标签: python web-crawler tweepy