如何使用 Tweepy 获取旧的 Twitter 热门话题?

How to get old Twitter trending topics using Tweepy?

我想从 Twitter 获取特定日期特定地点的热门话题 (TT)。第一部分我得到了它,但我还没有找到一种方法来返回从特定日期获取推文以获取 TT。 我试过这个:

startDate = datetime.datetime(2019, 11, 20, 0, 0, 0)
endDate = datetime.datetime(2019, 11, 22, 0, 0, 0)

woeid = 368148

trends = []

for trend in tweepy.Cursor(api.trends_place, woeid, since = startDate, until = endDate).items():
    if trend['tweet_volume'] is not None and trend['tweet_volume'] > 1000:
        trends.append((trend['name'], trend['tweet_volume']))

没有用,因为这个方法不支持分页。 有人知道怎么做吗?

谢谢

历史趋势不是 Twitter API 提供的。

参见:
https://twittercommunity.com/t/old-trends-and-popular-geo-tagged-tweets/11045
https://twittercommunity.com/t/get-historical-trending-topics/134221
https://twittercommunity.com/t/get-historical-trends-data-for-a-particular-location/146011