Home > database >  Collect "controversial" posts of a subbredit
Collect "controversial" posts of a subbredit

Time:04-04

I am trying to collect all posts from the "controversial" listing of a subbredit.

I tried with the Reddit API but there is a limit on how many post you can collect.

Then using PushiftAPI i can retrieve a big amount of posts but I can't find a way to collect from controversial listing.

Is there a way to collect controversial posts?

CodePudding user response:

PRAW gives a way to get controversial streams and you can specify the time period as well.

From the docs

This method can be used like:

reddit.domain("imgur.com").controversial("week")
reddit.multireddit("samuraisam", "programming").controversial("day")
reddit.redditor("spez").controversial("month")
reddit.redditor("spez").comments.controversial("year")
reddit.redditor("spez").submissions.controversial("all")
reddit.subreddit("all").controversial("hour")

I am not familiar with PushiftAPI but hopefully this helps.

  • Related