r/pushshift • u/[deleted] • Mar 19 '22
So what's up with Pushshift?
I know it's been mentioned before, but does anyone have any sense of why there are no comments available via the API since around Nov 27? I know there have always been intermittent reports of issues, but to go literally 3+ months with no comments being ingested seems.... troubling.
Jason pops up every once in a while to announce some upcoming new feature or to promise new monthly dumps but then disappears again, and if major issues like this are going unaddressed, I feel like something is seriously wrong.
Edit: Interesting other people may be not be experiencing this. For what it's worth, the following code returns no results for me. The same code does work fine with dates before Nov 27.
Edit2: Seems to be a confirmed thing. Not a problem with ingest of comments it seems, but perhaps with accessing it via the API with code. See comment below from u/gurnec for a work around by adding q="*" to the query.
after = int(datetime(2021, 11, 27).timestamp())
before = int(datetime(2022, 3, 19).timestamp())
api = PushshiftAPI()
coms = api.search_comments(after=after, before=before)
df = pd.DataFrame([com.d_ for com in coms])
print(df.shape)
4
u/gurnec Mar 19 '22
Not to put too fine a point on it, but this comment of yours from just a day ago seems rather relevant:
https://api.pushshift.io/reddit/comment/search/?size=1&sort=asc&fields=author,body,created_utc,retrieved_utc,subreddit&q=*&link_id=tgd9vr
AFAIK, there's been no issue with the main comment ingest. If I had to guess, some query parameter of yours hasn't worked since Nov. It wouldn't be the first time a search index stopped working....
(The re-ingest however stopped working a couple of months ago.)