1

以下のコードを使用して、特定の日のトップ投稿を取得できます。これを史上最高の投稿に変更する方法はありますか?

import praw

user_agent = "Comment Reader 1.0 by /u/crowbell"

r = praw.Reddit(user_agent=user_agent)

submissions = r.get_subreddit('askreddit').get_top(limit=5)
for x in submissions:
    print str(x)
4

1 に答える 1

6

ドキュメントから、次のようになりますget_top_from_all()

于 2013-08-27T16:02:20.277 に答える