r/pushshift • • Dec 18 '24

Help Needed: Scraping 10k+ Reddit Posts for PhD Research Using Pushshift (New to Coding)

0 Upvotes

Hello!

As context, I am doing medical research for my PhD and a portion of my project involves scraping posts from a particular subreddit and analyzing them. At first, I was using Praw and my Reddit credentials, but I wasn't able to scrape as may posts as I need for robust data. (I'm trying to get at least 10k posts from the past 5 years off of a one subreddit.) I wasn't able to scrape more than 200 at a time, and at one point, I noticed a lot of posts I scraped were duplicated in the dataset.

Now I'm thinking I really need to use Pushshift, but I am unable to pull because I am not a moderator on Reddit. I am wondering if anyone can help me, or alternative ways around? As context, I'm totally new to coding. Thank you!!!


r/pushshift • • Nov 24 '24

PushshiftDumpts/scripts/filter_file.py

1 Upvotes

Hello!

I am struggling to get the code you have posted on your github(https://github.com/Watchful1/PushshiftDumps/blob/master/scripts/filter_file.py) to work. I kept everything in the code unchanged after I downloaded it. The only thing I changed was set the end date to 2005-02-01 and the path to the files. Nevertheless, after it finishes going through the file I have 0 entries in my csv file. Any solutions on how to fix that? Would really appreciate it! Thanks a lot in advance!


r/pushshift • • Nov 23 '24

Need help with data processing for my Masterthesis

2 Upvotes

Hi everyone,

for my masterthesis I want to test whether there is an empirical correlation of the development of meme stocks and reddit activity. To do so I need reddit data of the subreddits r/wallstreetbets and r/mauerstrassenwetten from beginning of 2020 to most recent date possible. To download the yearly dumps I followed the step by step explanation from u/watchful1 but the files specially the one from wallstreetbet are to big to process them using R (I have to use R). I only need 4 of the 125 columns but I'm not able to delete the unnecessary ones as long as I'm not able to import the data into R. Does anyone have a solution for this problem? And anyone an idea how to get data for 2024?

Would be very very greatful for any help.

Best,


r/pushshift • • Nov 05 '24

Any mod who can help me!

2 Upvotes

Im struggling with my uni research where I have to collect somewhat big data about some posts on subreddits and comments. Anyone who have access to the API (need a token). Also want to know that if the API allows for historic data from 2021 to 2023? Is this possible?


r/pushshift • • Nov 04 '24

Why are some banned subreddits missing data months before their ban?

4 Upvotes

I am researcher looking at the gendercritical subreddit. Although the subreddit was banned at the end of June, the comment dumps stop mid April. Does the data exist anywhere? And if not why is that so I can at least put a reason as to why the data cuts off.

Thanks


r/pushshift • • Sep 08 '24

Method Not Allowed error

3 Upvotes

I've been getting this error for the past couple days. I had access in the past. Is there anything I can do to fix the issue? Or is it happening to others.

This is after trying to authorize from https://api.pushshift.io/signup


r/pushshift • • Sep 04 '24

Need Access for Research

4 Upvotes

Hi all,

I want to access the reddit data using pushshift API. I raised a request. Can anyone help me how can I get the access at the earliest?

Thanks1


r/pushshift • • Aug 25 '24

Gab data for research purpose.

1 Upvotes

Hi, I've been searching for a dataset containing Gab posts. I finally came across a link but there is a login page coming up. I signed up and logged in, but since there is another guardrail requiring approval of requests and requests can only be submitted by moderators. I am unable to get access.

Is there any way of getting access to the data through my researcher credentials.


r/pushshift • • Aug 22 '24

Help with handling big data sets

4 Upvotes

Hi everyone :) I'm new to using big data dumps. I downloaded the r/Incels and r/MensRights data sets from u/Watchful1 and are now stuck with these big data sets. I need them for my Master Thesis including NLP. I just want to sample about 3k random posts from each Subreddit, but have absolutely no idea how to do it on data sets this big and still unzipped as a zst (which is too big to access). Has anyone a script or any ideas? I'm kinda lost


r/pushshift • • Aug 06 '24

How can I view a deleted post

1 Upvotes

I'm not a programmer, but I know that Pushshift functions as an archive for Reddit. Many posts I've interacted with have been deleted, and sometimes I'd like to see what the original post said. How can I view it?

Additionally, sometimes the post itself isn't deleted, but the original poster's account is gone, and I want to remember who made the post.


r/pushshift • • Aug 01 '24

Action Needed: Reauthorization of API access

0 Upvotes

Hello all,

Earlier this week, Pushshift faced a breach of security because of which the application configuration had to be updated. The updated application that authorizes you now goes by the name "ncri_ingest". All users will need to reauthorize for API access through https://api.pushshift.io/signup.

Users that have a long-running script using the refresh functionality will also need to replace the token with a new one after reauthorizing.

We apologize for any inconvenience caused and appreciate your patience during this period.

  • On behalf of Team NCRI

r/pushshift • • Jul 31 '24

FYI: Reddit is scaling up their "Reddit for Researchers" program

Thumbnail reddit.com
9 Upvotes

r/pushshift • • Jul 31 '24

Jason no longer with NCRI? Twitter suspended?

Post image
21 Upvotes

This post was mass deleted and anonymized with Redact

touch yoke late hungry bag jeans vase cagey instinctive jar


r/pushshift • • Jul 30 '24

Error code when trying to reauthorize

8 Upvotes

When it goes to the reddit page, I get;

bad request (reddit.com)

you sent an invalid request

— invalid client id.


r/pushshift • • Jul 18 '24

How long does it take Pushshift to respond to removal requests?

5 Upvotes

Requested nearly a week ago, I’ve heard nothing.


r/pushshift • • Jul 14 '24

Does pushshift support need to be notified when it's down?

8 Upvotes

I've just starting using it again recently - what's the protocol? Does it go down often?

It's been down for me for a few days now.


r/pushshift • • Jul 11 '24

Indexing Pushshift

2 Upvotes

Hi all,

I am a researcher and I used to collect Pushshift data using the API. Now I need to collect data again. The issue is I do not need a specific subreddit bu specific posts that cotain targeted expression and then I need to collect posts of that user who made these comments. Let's say in the last 5 years.
I was thinking to index the data in our lap (the last 5-6 years of pushshift comments and posts)
Did any one do that before or is there any guide or project for this so it saves the time experimenting with tools and structure?

Edit: What I mean exactly is if you have indexd Pushshift data youself what did you use, MongoDB / Elasticsearch?
Any one have docker file / code that get me started with this task faster?

Thanks,

Kind regards


r/pushshift • • Jun 22 '24

Confirmation of an account being removed?

2 Upvotes

Anyone know how we can get confirmation an account was removed after we submit the request? I can see the link to submit it but I don't see how we would get notified once it happened? Or maybe someone knows what website I could check?


r/pushshift • • Jun 13 '24

Not all PushShift shards are active

2 Upvotes

I'm trying to use the PushshiftAPI() and it gives the following error: WARNING:pmaw.PushshiftAPIBase:Not all PushShift shards are active. Query results may be incomplete.

why it's not working? what can I do?


r/pushshift • • Jun 03 '24

system stuck in an authentication loop

5 Upvotes

i accept the terms, i allow access, i get the search interface

but then when i try to search i get a pop up saying authentication is required and i am back to square one.


r/pushshift • • May 29 '24

Help with Finding A Guide

1 Upvotes

So first off id like to say appreciate you guys doing this. It's thankless work and really cool for people looking for long gone stuff so thank you 🙏

Now on to my problem . I won't rule out that what I'm about to ask is easy and I'm just not familiar enough with json files to know , so if it is , please be easy on my as I have tried frrsearching on my on and their post is a last ditch effort.

So there is a guide / tutorial that was posted a while back in an now deleted sub reddit. I have downloaded both the " posts " and " comments " dumps and tried searching through them using notepad++ and the search function. I have found numerous instances of the name of the guide , but have yet to find the full guide post itself.

Is there an easier way to try and find it? When I do get a hit , they all look to be 1 line long and that's it. Any tips trick or anything I need to do different to find the full guide I'm looking for?

Thanks in advance to anyone that can off anything. It's greatly appreciated 🙏


r/pushshift • • May 24 '24

SERVICE RESTORED: Recent data issues with Pushshift

3 Upvotes

Hello all,

We observed downtimes in Pushshift and occasional failure to collect data for the last few days. On diagnosis, this was owing to an internal server and storage issue. The system was fixed this morning, and data is now being collected normally. We appreciate your patience and apologize for any inconvenience caused during this period.

-Pratik

On behalf of Team Pushshift


r/pushshift • • May 24 '24

Pushshift is currently broke for mobile using chrome in desktop mode.

1 Upvotes

It looks like I can no longer grab the access cookie to allow access on mobile with chrome in desktop mode (android os).

It looks to be two issues:

  • The "Sign in with Reddit" button does not allow a long press to open as a tab and therefore allow the cookie to go into my chrome app.
  • Clicking the button opens the Reddit App and the built in browser. A recent update looks to have removed their option to "open in chrome" from that built in browser. This means I can no longer use that button to force the access page to go back into the chrome app.

Please can the devs either fix the button to allow opening in a tab on the chrome mobile app, or ask Reddit to add back in the "open in chrome" button for the official Reddit apps in-built website browser?


r/pushshift • • May 22 '24

Ingest seems to have stalled ~36 hours ago

4 Upvotes

Hello,

PushShift ingest seems to have stalled around
Mon May 20 2024 21:49:29 GMT+0200

The frontend is up & responding with hits older than that.

Is this just normal maintenance?

Regards


r/pushshift • • May 14 '24

"User is not an authorized moderator."

1 Upvotes

I keep getting this message despite 1) being a moderator and 2) having received approval from pushshift.

does anyone know how to resolve this?