You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 7, 2024. It is now read-only.
PSAW uses desc sort when making queries involving time intervals and uses last record in the previous request to set the next 'before' value for paging. However because the 'before' and 'after' values are not inclusive in Pushshift, if multiple records with same timestamp occur on the temporal boundaries of the paging requests there will be missing records in the retrieved results. Switching to asc sort will also produce missing records for the same reasons albeit different ones.
Example:
start = 1527811200
end = 1559347200
gen = api.search_comments(after=start, before=end,
subreddit='jobs', aggs='subreddit')
next(gen)