I'm using the following code to obtain reddit search results with PRAW 4.4.0:
params = {'sort':'new', 'time_filter':'year'}
return reddit.subreddit(subreddit).search('', **params)
I'd like to scrape an indefinite amount of posts from the subreddit, for a period of up to a year. Reddit's search functionality (and correspondingly, their API) achieves this with the 'after' parameter. However, the above search function doesn't accept 'after' as a parameter. Is there a way to use PRAW's .search() to obtain more than 100 search results?
cloudsearch
has been removed from the reddit API, ref: https://mcmap.net/q/731209/-praw-6-get-all-submission-of-a-subreddit and reddit.com/r/redditdev/comments/8bia9n/… – Impolicy