tweepy 中没有属性 Retweet_status

No Attribute Retweet_status in tweepy

我正在尝试检索 retweeted_status,但出现错误

AttributeError: 'Status' object has no attribute 'retweet_status'

这是我的代码。它以前对我有用,所以不确定它现在是否损坏,或者它的语法是否已更改。

with open('C:/Users/User/Desktop/localGovCamp3.csv', 'wb') as f:
    w = csv.writer(f)                  
    for tweet in tweepy.Cursor(api.search,q="@localgovcamp", 
count=1000,result_type="recent",include_entities=True,lang="en").items():

       rt = tweet.retweet_status.id
       print rt 

我得出的结论是 retweet_status 在使用 Cursor 时不起作用,因为它在 OAuth 或 Stream 中工作良好。