ivan-rivera/RedditExtractor

When you set a period (e.g. year), it doesn't seem to extract threads for the past year.

Opened this issue · 0 comments

Describe the bug
When you set a period (e.g. year), it doesn't seem to extract threads for the past year. Instead, im finding less than a month. Is this an API limit?

To Reproduce
Steps to reproduce the behavior:

rm(list = ls())

using Package ‘RedditExtractoR’ to get user content

library(RedditExtractoR)

library('pander')

#Information
pander(sessionInfo())

#Get a list of subreddits that return when using a keyword.
listofsubreddits <- find_subreddits('BPD')

write.csv(listofsubreddits, "ListofBPDsubreddits.csv", row.names = FALSE)

#Find all the threads from the subreddit BPD
BPDURL <- find_thread_urls(keywords = NA, sort_by = "new", subreddit = 'BPD', period = "year")

Desktop (please complete the following information):
R version 4.3.1 (2023-06-16)

Platform: aarch64-apple-darwin20 (64-bit)

locale:
en_US.UTF-8||en_US.UTF-8||en_US.UTF-8||C||en_US.UTF-8||en_US.UTF-8

attached base packages:
stats, graphics, grDevices, utils, datasets, methods and base

other attached packages:
pander(v.0.6.5) and RedditExtractoR(v.3.0.9)

loaded via a namespace (and not attached):
compiler(v.4.3.1), tools(v.4.3.1), rstudioapi(v.0.15.0), Rcpp(v.1.0.11) and digest(v.0.6.33)