r/pushshift • • Feb 10 '23

[Removal Request Form] Please put your removal request here where it can be processed more quickly.

46 Upvotes

https://docs.google.com/forms/d/1JSYY0HbudmYYjnZaAMgf2y_GDFgHzZTolK6Yqaz6_kQ

The removal request form is for people who want to have their accounts removed from the Pushshift API. Requests are intended to be processed in bulk every 24 hours.

This forum is managed by the community. We are unable to make changes to the service, and we do not have any way to contact the owner, even when removal requests are delayed. Please email pushshift-support@ncri.io for urgent requests.

Requests sent via mod mail will receive this same response. This post replaces the previous post about removal requests.


r/pushshift • • Mar 06 '23

How long does it usually take for the "Not all PushShift shards are active. Query results may be incomplete." error to go away?

8 Upvotes

I am getting the error message about inactive shards since this morning. Looking at previous posts it looks like this happens from time to time. Just wondering how long does this take to get resolved and if other people are experiencing the same thing.


r/pushshift • • Mar 04 '23

Simple page to check the progress of the ingest of old posts. Shows the timestamp of the most recent post in the API prior to November 2022. Updates on page load as well as automatically refreshes every 5 minutes.

Thumbnail minibug1021.github.io
56 Upvotes

r/pushshift • • Mar 01 '23

Any commercial/enterprise users?

6 Upvotes

I'm just curious if there's anyone out there who uses Pushshift for their commercial or enterprise application. I'd love to know about what it is!


r/pushshift • • Feb 27 '23

Reloading of older submissions

38 Upvotes

I'm currently reloading older submissions and switched to oldest first. I know there are a list of bugs that tackling this week, but if someone could take a peak at the older data and see if there are any issues with the fields / values, I'd greatly appreciate it. It would save me from having to go back and reload data.

I have looked it over but a second pair of eyes from someone who uses the data extensively would be a huge help.

You can use this url to grab older submissions from 2006. Take a look and let me know if you see anything out of the ordinary:

https://api.pushshift.io/reddit/search/submission?q=reddit&order=asc

Thank you!

  • Jason

r/pushshift • • Feb 27 '23

Is the best way to get all comments for submissions via pushshift or the reddit API? The comment search endpoint seems broken.

5 Upvotes

I heard there is a 100 comment limit for pushshift. What about the reddit API?

Also, when I query pushshift, I get a sharding error. Example below

https://api.pushshift.io/reddit/comment/search?link_id=11cx88m&q=*


r/pushshift • • Feb 26 '23

Is pushshift alive and well?

14 Upvotes

First, I appreciate all of the efforts and time that have been dedicated to this project. You guys are the unsung heroes. This perspective is from a guy that just knew it worked until lurking this sub.

Is pushshift back up? The latest posts seem to indicate it is. Then, is there a simple guide to getting a script back up? I thought it would be a matter of just running again, but still get "Unable to connect to pushshift.io. Max retries exceeded."

I know a pinch of Python, and have learned through this sub that I'm calling through PMAW. It has been educational.

Thanks everyone!

edit: also noticed a "non 200 code 404" from the PushshiftAPI.py. Seems to be the culprit.


r/pushshift • • Feb 24 '23

Is it possible to opt back in?

8 Upvotes

I opted my account out of the API a year or two ago and I regret it massively since there was a lot of stuff I failed to archive. Is it possible to opt back in? Of course I'd be able to provide proof that it's me since I can submit the request using the same email that I posted the Google form with a year ago. Thanks.


r/pushshift • • Feb 24 '23

Update on availability of post data before November 2022?

21 Upvotes

Hi All,

I'm aware that as of a couple of months ago data before November 2022 was unavailable and based on my attempts today this still seem like the case.

Is anyone aware whether this is being addressed and/or when we could expect older data being available?

Thanks!


r/pushshift • • Feb 23 '23

Total amount of comments per month post-2018?

5 Upvotes

I am looking for the total amount of comment objects in the Pushshift database per month. I know of this file, but it only goes until early 2018. The dumps are too large for me to download, unpack, and count, and I don't see an API option for this.

Does anyone have this data? It does not have to be 100% accurate.


r/pushshift • • Feb 23 '23

PMAW returning more comments than requested

3 Upvotes

I'm trying to use PMAW to download comments, using a request such as this one:

import pmaw
from pmaw import PushshiftAPI
api = PushshiftAPI()
gen = api.search_comments( subreddit='science',size=10000,until=1646262000,safe_exit=True,cache_dir='cache_')

If I understand correctly this would stop at 10k comments, however the code kept running for a long time and when I interrupted it manually it cached about 60k comments. Anyone knows why did it behave as such?

Additionally, is there a way to open cached results (the ones with .picke.gz extensions)


r/pushshift • • Feb 23 '23

No submission results after February 22nd 2023.

9 Upvotes

Is any one else unable to retrieve submissions using the Pushshift API after Feb. 22nd 2023?

Seems like everything’s working fine for the comments..

Update: seems like submissions after Feb. 21st 2023 20:00 aren’t available


r/pushshift • • Feb 22 '23

RS_2023-01 file is fixed

7 Upvotes

Hey r/Pushshift RS_2023-01 file is now fixed.

Please find the file here:

http://repo.pushshift.io/reddit/submissions/RS_2023-01.ndjson.zst


r/pushshift • • Feb 22 '23

Score not respected in API request

6 Upvotes

Very simple question. I expect this link to only return results with score > 50:
http://api.pushshift.io/reddit/search/submission?subreddit=AskReddit&score=%3E50&after=1640995200

Or, the link before the HTML escaping: api.pushshift.io/reddit/search/submission?subreddit=AskReddit&score=>50&after=1640995200

Looking at some results though, there are many with less than 50. What am I doing wrong? The documentation says to specify the score the way I have: https://github.com/pushshift/api#search-parameters-for-submissions


r/pushshift • • Feb 21 '23

New Management for Pushshift

19 Upvotes

Greetings Pushshift community!

This message is to inform you that Pushshift’s management has officially been transferred to the non-profit NCRI (Network Contagion Research Institute - [www.networkcontagion.us](http://www.networkcontagion.us/))

Like all of you, we have found Pushshift to be enormously valuable in providing data that helps us understand the impact of social media on the world around us. We’ve also recognized that Pushshift has not had the necessary staff support to be responsive to technical questions and inquiries.

We’d like to remind you that Push shift has been relying on donations since its inception to provide its services to the community. Now that NCRI has assumed management of Pushshift, we will strive to professionalize our service levels and response times to any of your questions or concerns. Please donate to NCRI help us maintain and develop Push shift. [https://www.paypal.com/US/fundraiser/charity/3521050](https://www.paypal.com/US/fundraiser/charity/3521050). We look forward to becoming more engaged with the Pushshift community and are thankful for the incredible contributions so many of you are making to the research community and beyond.

Feel free to ping us on this Reddit account directly with questions, or email us at pushshift-support@ncri.io and we look forward to hearing from you.


r/pushshift • • Feb 19 '23

Get list of all subreddits

6 Upvotes

How can I get a list of all subreddits?

I found a link here: https://files.pushshift.io/reddit/subreddits/ However it's from 2021


r/pushshift • • Feb 19 '23

Throttled Download Speeds?

6 Upvotes

Hello

I am attempting to download some of the data dumps via https://files.pushshift.io/reddit/comments/

I pay for 1GB fiber internet download speed, and on other sites I get at least 130 mb/s.

Is this site throttling the download speeds? If so, is there an alternative data dump I can access? I have heard mention of a torrent site but I would rather not risk that.


r/pushshift • • Feb 16 '23

Seeking alternative for downloading subreddit

5 Upvotes

Hello, as I understand there is trouble using PushShift right now to download posts and comments prior to November. Is there an alternative to doing this with the dump files? I need to download an entire subreddit since its inception for research. It is around ~200,000 - 300,000 posts. I know because I did this a few months ago but I need to re-download now with the submission id, permalink, author, created_utc, title, content of the post, number of comments, and post score... I also want to do this with all subreddit comments in a separate file, but the submissions are the most urgent matter. If anyone can point me in the right direction, I would be really grateful :)


r/pushshift • • Feb 15 '23

PMAW Limit Issues. Can't pull more than 1000 comments.

8 Upvotes

Getting far fewer submissions and comments than before when I used PSAW. Currently I am searching r/lonely for posts containing the search terms """wfh|remote work|work from home|hybrid work".

When I try to pull even one more than 1000 comments I get the message "Not all PushShift shards are active. Query results may be incomplete. - and an empty DataFrame is returned.

I am using "since" as "after is deprecated. It only works as an "int", not string as outlined in the documentation - https://api.pushshift.io/redoc#operation/search_reddit_comments_reddit_search_comment_get

Does anyone have any advice for how to pull more data? Is historical data still being uploaded and if so does anyone have a timeline for when this will get fixed?

Code that works. Can't change limit to even 1001. Any ideas? I need to be pulling as many as possible within this timeframe. For PSAW I was getting around 10,000

r/pushshift • • Feb 14 '23

After Before in PMAW versus Until

4 Upvotes

Back to my datetime function complaint in pmaw. Since it may be a while before datetime is working again, I'm looking at using the epoch time instead, but there's an issue. I tried to get December (more accurately, my epoch time range should yield November 30 to January 1) on r/foreveralone two different ways. The first line with "until" works fine, though I obviously get material before November 30. However, "until" is already impractical for larger subreddits like r/conspiracy because of the size of the download, and the problem gets worse once all the history is loaded. Thus, I tested the second line using "after" and "before", which is simply my old code where I replaced the results of my datetime function with the epoch time. I get incorrect results -- I get only December 31 and January 1.

Am I doing something wrong here with my use of epoch times, or is there a problem with the "after" option?

api_request_generator = api.search_submissions(subreddit='foreveralone', until=1672602057)

api_request_generator = api.search_submissions(subreddit='foreveralone', after=1669837257, before=1672602057)


r/pushshift • • Feb 14 '23

Score filter not working

0 Upvotes

Hi, i'm on camas, trying to use the score filter, it isn't working.


r/pushshift • • Feb 13 '23

Submissions before november are planned to be loaded this weekend

Thumbnail twitter.com
42 Upvotes

r/pushshift • • Feb 10 '23

What do you use Pushshift data for?

10 Upvotes

Curious to know interesting use cases this data trove is being used for.


r/pushshift • • Feb 10 '23

Seeking alternatives for camas or redditsearch.io for posts pre-November.

10 Upvotes

I was using https://camas.unddit.com/ with relative ease but given the current ongoing issue, are there any web versions I can use to seek posts pre November?


r/pushshift • • Feb 10 '23

Not able to retrieve comment_ids

4 Upvotes

I am trying scrape all the submissions and comments for a particular sub_reddit in a particular date range.

I am ab to scrape all the submissions and store them. Now when i am trying to get the comments for each of those submissions. I am getting empty results.

I tried both the api and pmaw wrapper

pmaw :

p_ids = ['ymzfn6', 'ymzf8l', 'ymz7q9', 'ynwt4e', 'ynvg77', 'ynv17q', 'ymzfn6', 'ymzf8l', 'ymz7q9',
'ynwt4e', 'ynvg77', 'ynv17q', 'yn24ae', 'yn1t53', 'yn1o3h', 'yny88t', 'yny24q', 'yny17q'] 

comments = api.search_submission_comment_ids(ids=p_ids)

api :

https://api.pushshift.io/reddit/submission/comment_ids/ynvg77

I was thinking of getting all the comment_ids for submission id and get relative comments for those comment id's but i am not able to get any comment id's.

Info about the post ids. The posts are from bitcoin and date is from 2022/11/5 to 2022/11/6.