有没有办法使用 praw 获得 redditors 最差的评论?我尝试redditor.get_comments(sort="worst").next().body
过不同的类型,但没有产生预期的结果。我想我可以得到他们所有的评论,然后循环浏览它们,但这似乎很愚蠢。
2 回答
1
这有点晚了,但可能最好的方法是按顶部排序,然后使用after=t1_d9pvq54
(例如)和高计数快速翻阅评论,直到你到达最后一个,这将是最糟糕的评论。
于 2016-11-10T05:08:16.527 回答
0
The sorting types available in PRAW are equivalent to those available on the webinterface, such as 'new', 'top' or 'controversial'. There isn't a special sort to retrieve worst comments. It may be silly to loop through all of them, but that's the only way to do what you want.
于 2014-04-13T15:51:29.403 回答