r/pushshift • • Sep 20 '21

What happened to Removeddit?

37 Upvotes

I apologize if this isn't the place for this, but:

Removeddit has been down for me for a couple days now. I've always preferred it over reveddit/ceddit, and I was just wondering if anyone had an inside scoop as to what's going on there...

TIA!


r/pushshift • • Jan 02 '20

The author parameter has been restored for the API -- will remain unavailable for Redditsearch.io for the foreseeable future

37 Upvotes

The author parameter has been re-enabled for the API after a lot of discussion with a few people. Author search for redditsearch.io will remain disabled for the time being.

I am implementing some logic that will flag abuses of the author parameter via the API but it will take time to get right.

I can't advertise what flags I'm putting in place to catch abuses of the API (because people would circumvent them) but my hope is that it will help to curb abuse of the author search feature.

There will be some added limitations for author search that will restrict how often it can be called and how many different authors can be searched but the ultimate goal is to not penalize the majority of users who use the API for good vs. the small minority that use it for evil.

This has been a very tough thing to balance but I do believe the changes I'm putting in place will help curb abuse going forward.

Edit: I also hope that the Reddit admins can review their suspension policy to make sure that people aren't getting liberally suspended for innocuous comments made years ago that were taken out of context.

This will be an ongoing issue I will actively tackle so please bear with me as I work to address abuses of the API. I don't always make the right decision and sometimes there just isn't a clear-cut right or wrong decision. I have to weigh a lot of things when making these type of decisions and sometimes it is extremely difficult to make a balanced decision that ultimately helps the community instead of hurting it.

Thanks.


r/pushshift • • Jan 01 '20

Update on the Author Search Removal

37 Upvotes

I've gotten A LOT of DM's and e-mails from people related to the removal of the author parameter. Some of the e-mails were just downright hurtful and filled with anger. I thought I'd take a few minutes to address this.

First of all, my intention isn't to permanently remove that functionality -- it is a temporary measure until I can figure out the best way to mitigate the most damaging uses of the feature while still allowing the majority of users to enjoy the functionality.

This is a very sensitive issue and I'm going to end up pissing off a large group of people no matter what I do -- I accepted that type of scenario the day I push Pushshift online. There are just some situations that are a no-win scenario.

What I've learned is that I need to accelerate the development of an accounting layer on top of the API and start issuing API keys to people so I can better track usage and make sure that the 90% of users that use the API without ill intent don't have things ruined by the 10% or less of users who only use the API to stalk, harass, etc. other people.

It's a damn shame that there are people like that out there, but we'll figure out something soon and get the functionality back. I'm not going to let a few assholes hold a great tool hostage that I spent years building.

Thanks for your patience -- I just wanted to to communicate with everyone and everyone know that I'm working hard to find a viable long-term solution.

Edit: One possibility is that when someone does an author search, the API returns object ids that could then be used to fetch from the Reddit API. That would respect removed content from the author and still give people the ability to use author search via one extra step.


r/pushshift • • May 20 '23

So... when do we set up our own tool?

36 Upvotes

It doesn't have do things on the scale that Pushshift did. Just the top 2k subreddits (ideally top 10k) would be fine.

If Reddit wants to hide their history and make a researcher's and moderator's job a living hell, fine. But we can't just sit here and do nothing about it. The archival community made an effort to save more than 1 billion Imgur files just last week. Streaming some submissions and comments text from a selected number of subs should be nothing in comparison.


r/pushshift • • Nov 04 '22

UPDATE: APIs coming back online

36 Upvotes

The Verizon guy was able to patch the fiber break and the APIs are coming back up. It will take a little bit of time for previous missed comments and submissions to get ingested. What we are going to do is focus on continuing the transition into the COLO and start populating all of the data into the new servers that were purchased (big ass Dell servers with 100+ TB Nvme and 6+ terabytes of RAM).

If your script only cares about recent posts and comments, you should be able to use the API now. Please let me know if you notice any issues but keep in mind that we'll probably have sporadic issues until the move into the COLO is complete. We are targeting today to get a majority of the data loaded into the COLO servers.

Unfortunately a fiber cut is a worse case scenario, but we are moving all of Pushshift into a COLO with redundant 10gb internet lines and 100gb switches for our internal network. Once the API is moved into the COLO, we should see much improved performance.

We will continue to bring up services today and I'll continue to update the community.

Thank you for your patience!

  • Jason

Ps: Thank you Mr. Verizon guy!


r/pushshift • • Jan 12 '20

[Update] Currently working on rewriting the Reddit Ingest Script to Support Parallel Requests

36 Upvotes

For many years since Pushshift started, the comment volume on Reddit was low enough where sequentially fetching new data was sufficient to keep up with the amount of new data from Reddit.

Unfortunately, spam has become a huge issue with Reddit and there are times where millions of spam comments are generated in short bursts.

The new ingest script will have the following new features:

  • Ability to use multiple accounts to combine the rate-limits so that Pushshift can stay near real-time despite spam bursts.

  • Ability to keep the ingest near real-time. The goal is to have the ingest fetch new material within 5 seconds of it being created on Reddit. There are times when there are massive spam bursts that may cause the ingest to lag a bit more than 5 seconds, but once the new script is put into production, the Pushshift API should never fall minutes / hours behind.

  • More timely monthly dumps. Monthly dumps should be available within two weeks of the previous month's end with the goal to have them out within seven days.

I know a lot of services depend on the API being near real-time and it is frustrating for me to see the API fall hours behind due to large spam bursts on Reddit, so this upgrade will alleviate a lot of the current issues with the API falling behind.

The plan is to have the new ingest in production by February.


r/pushshift • • Feb 25 '24

Dump of 18 million subreddit about pages

35 Upvotes

Downloads: https://github.com/ArthurHeitmann/arctic_shift/releases/tag/2024_01_subreddits

This contains the names, ids, descriptions, etc. of 18 million subreddits.
Of those, 2 million were no longer available (private, banned, quarantined, etc.). Those are separate in a separate file and only contain the name, id, potentially subscribers and statistics.
Statistics contain aggregate information from the pushshift and arctic shift datasets: date of earliest post & comment, number of posts & comments and when that data was last updated.

Not sure yet, at which frequency I'll be redoing this. Maybe once a year or so.


r/pushshift • • Jan 17 '23

Any idea when we might get access to posts older than a month?

35 Upvotes

r/pushshift • • Jul 26 '19

Stand up for pushshift!

Thumbnail
twitter.com
35 Upvotes

r/pushshift • • May 23 '23

Any chance of open sourcing Pushshift code and its architecture?

34 Upvotes

It was such a powerful service while it was up. Now that it is sadly dead, would the folks @ Pushshift be willing to open source the code and architecture behind it?

It would be fascinating to learn how such an understaffed team was able to economically stand and scale it up this big.


r/pushshift • • Jun 16 '22

Jason: Pushshift will be dumping over a billion comments and submissions from Reddit next week. This will finally get us caught up for the monthly dumps. A big thank you to @US_FDA for their support of this project and contributing to the project.

Thumbnail
twitter.com
34 Upvotes

r/pushshift • • Apr 09 '20

Pushshift Reddit API improvements are coming...

34 Upvotes

Currently, the API has issues when Reddit gets spam bursts. This has been an ongoing issue that is being addressed.

I just purchased two new servers to assist with the load. Based on usage patterns for the API, most API requests are for current data (data within the last 6 months).

We're currently working on a new version of the API which includes complete documentation for each endpoint (example: https://apiv3.pushshift.io/redoc)

The plan is to begin working on a new ES cluster using the latest version of Elasticsearch and loading the previous 6-12 months of data into it. The new API will have updated ingest code to handle spam bursts and to keep the API current (the API will always be within one minute or less of the most current comment and submission data).

Once the new cluster is brought online, I'll make an announcement. The new API will use keys to better track usage patterns, etc. The new cluster will start with the most current Reddit data with less indices so that people who are mainly interested in querying newer data will have less latency and faster response times -- including increased rate-limits and larger size limits.

The new servers should get here by early next week. At that time, I'll begin the process of setting up the new ES cluster. Since Ubuntu 20.04 is nearing release, we'll probably standardize the new cluster using that version of Ubuntu (Ubuntu 20.04 LTS).

For researchers that need enhanced rate-limits, the goal is to increase the size limits to 1,000 objects per request and new rate-limits up to 5 requests per second.

I know the API lag has been very frustrating for people interested in searching recent submissions and comments so improving the ingest logic is a very high priority for the new cluster that will be put in place.

The new servers will utilize more powerful CPUs with more RAM for each node to increase the cache size for data (which will decrease latency and improve response times across the board). Once the new servers are put in place, there will be a total of 10 servers backing the API with a total of 2.5 terabytes of RAM.

Thanks for your patience and support!


r/pushshift • • May 28 '19

Pushshift is now ingesting all tweets from all verified Twitter Accounts (~323k accounts)

34 Upvotes

I found a method to track and ingest all tweets made by all verified Twitter accounts (including original tweets, retweets and quoted tweets). I need to check the Twitter TOS to see exactly what data I can make available for academic use (they usually have more relaxed terms for academic use).

The data is being fed into elasticsearch (version 7.x) in near real-time (generally a 0-20 second delay -- mainly dependent on how quickly Twitter makes the tweets available via their API).

The goal for this project is to track all politicians and news sources for disinformation research. If there is any interest in this data, please let me know. This method gets all tweets, retweets and quoted tweets from all verified accounts (I have done some preliminary testing and there doesn't appear to be any missing data from the accounts I've tested -- including extremely active ones). This also includes the data for tweets that are retweeted or quoted by a verified account.

All tweets ingested have their meta-data refreshed (retweet_count, favorite_count, etc.) at 1 hour, 4 hour and 24 hour periods. The total tweets ingested averages around 50k-100k tweets an hour. Newly verified accounts from Twitter are automatically added instantly (no missed tweets from newly verified accounts).


r/pushshift • • Apr 06 '19

I'm happy to report that Pushshift will be getting some "substantial" funding soon

34 Upvotes

What does this mean for the project? Well, for one, I'll be able to add another 4-5 nodes for the ES cluster (each with 128 GB of ram and an Intel Octane 905p drive). I'm going to get one to test but the Octane 905p drive should substantially increase the speed of random record retrievals -- on the order of 2-5x faster than the current setup using NVMe drives.

Intel Octanes are expensive, but their 10 microsecond latency makes low queue depth requests extraordinarily fast. More importantly, the additional servers will now allow for replica shards that can serve as failovers in the event that a server drops out of the cluster.

Currently, a server will drop out of the cluster on rare occasions -- but it does cause issues because it takes data with it and will cause records to go missing. With replica nodes, a server failure won't really affect the API except for possibly increasing the latency a bit for certain requests.

The specs for the new servers will be a substantial increase in processing power and storage speed. This is the motherboard for the new nodes. This will increase the available threads from the current 12 to 16 -- plus this CPU is faster in general than the 1541 Xeon-D's currently being used.

Each node will be populated with 128 GB of ram (Samsung 32GB DIMMS have fallen to around $200 each). Each node will also contain one of these. While expensive, they will reduce the latency to less than half of the current latency for random record retrievals within the cluster. It should be possible to do aggregations on ALL Reddit comments and submissions in under ten seconds (currently these aggregations will usually time out).

I wanted to share the news since it is exciting and wanted to get any feedback / suggestions from other techies to get a feel for the consensus for these new hardware decisions.

With these new additions, I'm also going to be looking at purchasing a 4U server with two Epyc CPU's and one or two GPUs. The total RAM for that system will be either 256 GB or 512 GB and it will power new endpoints that use machine learning / deep learning routines. My eventual goal is to put up some new endpoints to do image / meme detection, language detection (categorizing comments by language) and to translate comments to English so that searches for specific things can also match up against their equivalent in other languages. There is a project called Doppler (backed by MIT's Media Cloud and Harvard's Shorenstein Center that will do some exciting stuff) that works with image data as well. From my current knowledge, this project is completely open-sourced but still under active development.

These new additions will increase the total RAM across all Pushshift servers to over 1.5 terabytes and increase fast storage from the current 8TB to around 16TB. This will also allow Pushshift to add other data like weather, real-time seismograph data, Geo-spacial data, GOES satellite data, real-time solar flux data, etc.). I would eventually like to get to the point where Pushshift could be a one stop shop for an array of real-time scientific data. Imagine being able to get seismograph data for a recent earthquake while simultaneously being able to query multiple social media platforms to see how it propagated based on comments from sources like Reddit, Twitter, etc. Also, with eventual webhook capability, people could subscribe to get alerts based on specific real-time data that reaches some pre-determined threshold (e.g. setting up a webhook to get alerts for earthquakes over a specific magnitude within a 250 mile radius of specific coordinates, etc. -- within seconds)

Thank you! As always, I want to note that this project would not have been possible without the many donations and other contributions from all of you amazing people!


r/pushshift • • Jul 14 '19

Pushshift will be in a degraded state for at least a few days (Details inside)

33 Upvotes

I had a very unfortunate thing happen while doing maintenance. There has been a server in the cluster that has gone down often so I was in the process of replacing the server with a new one and was getting ready to move the data. Unfortunately, I ran a command on the origin server which was meant for the destination server (basically I had switched to the wrong window).

This event caused the loss of approximately 20% of the cluster's data (data spread out from late 2018 to 2006). Data for 2019 is not affected and is still complete (recent data is actually replicated across more than one node for redundancy).

The raw data itself is backed up in multiple locations which means no data was permanently lost. However, it will take time to re-index the data and to bring the new node online and to reconcile / merge it with the existing shards that are operational.

This process will most likely take at least a few days and may extend up to a week. One of the ongoing major issues that has plagued this project is a lack of redundant nodes that would have prevented running in a degraded state. Eventually, I will have more servers to address this and issues like will be far less likely to occur.

If you are using the API for research, you will need to stop data collection until the data is restored. You can of course still download the raw data and use that for the time being.

A huge apology to everyone -- it was a horrible screw up. I tried my best to restore the data but unfortunately restoring data from an EXT4 filesystem is virtually impossible if data was written to the drive after the files were erased.

In a way, this is a mixed blessing because this will give me the opportunity to do a lot of reorganization and bring the new (faster) node online to replace the node that kept failing.

If you have any questions, feel free to ask them in the comments. I'm going to grab some sleep -- it was a hell of a ride over the past 2 hours.

To recap:

What doesn't work:

  1. The data is now incomplete until the data can be restored to the new node.

  2. There will be comments and submissions missing pre-2019.

  3. Aggregations (including timeline aggregations) will under report activity for certain time ranges.

What does work:

  1. The API is still ingesting new data without issues.

  2. The API is still responsive to API requests.

  3. Data is complete for this year (for both submissions and comments).


r/pushshift • • Jan 06 '19

Thanks to all who donated! The minimum needed has been met with your help.

33 Upvotes

Appoximately $1,750+ was donated via Gofundme and bitcoin donations and $5k pledge via university commitments.

Pushshift is financially stable for this quarter with future donations coming in -- so things are look on the up and up! Now the work begins with replacing failing drives and expanding.

All the best,

Jason


r/pushshift • • Sep 09 '23

Reddit data dumps for April, May, June, July, August 2023

32 Upvotes

TLDR: Downloads and instructions are available here.

This release contains a new version of the July files, since there were some small issues with them. Changes compared to the previous version:

  • The objected are sorted by ["created_utc", "id"]

  • &amp;, &lt;, &gt; have been replaced with &, < and > (thanks to Watchful1 for noticing that)

  • Removed trailing new line characters

If you encounter any other issues, please let me know.

In addition, about 30 million unavailable, partially deleted or fully deleted comments were recovered with data from before the reddit blackouts. Big thank you to FlyingPackets for providing that data.

I will probably not make any more announcements for new releases here, unless there are major changes. So keep an eye on the GitHub repo.


r/pushshift • • Jun 23 '23

Browser extension "Unedit and Undelete for Reddit" updated to use API tokens

32 Upvotes

The extension, Unedit and Undelete for Reddit, adds a "Show original" link directly within the Reddit user interface to easily fetch data from Pushshift for comments that have been edited, deleted, or removed and has now been updated to work with API tokens.

It's available for Firefox, Chrome, and other Chromium browsers, as well as being installable as a Userscript.

Links to the different versions can be found at https://github.com/DenverCoder1/Unedit-for-Reddit

This has been one of my side projects for the past few years and I'd be happy to receive feedback.


r/pushshift • • Jun 07 '23

[Notes from API call with u/spez] Pushshift will come back online for mods, but will stop doing the things we had an issue with, like reselling user data to other folks. The agreement will take another week or two, and we’re in the process of finalizing.

Thumbnail reddit.com
32 Upvotes

r/pushshift • • Aug 05 '21

One of the main servers died last night while I was loading additional data (hard drive failure)

32 Upvotes

I am diagnosing the server now but it doesn't look too promising. It appears the Samsung drive went up completely an the RAID on that machine didn't perform as expected. I'll update soon.

Update

I've managed to recover some of the data on that node. Apparently the boot SSD drive failed (second Crucial SSD to fail this month) but the Samsung drive that held the Elasticsearch data survived (kind-of). I had to rip an SSD out of my workstation, stick it into the server (since it already had 20.04 Ubuntu on it) and then I was able to recover around 88% of the node's data. There are still some nodes unassigned so historical data will be affected until I can either recover those shards or reload the data into Elasticsearch.

However, the production API should be running and updating now with current submissions and comments which is one of the most important things. This will probably push me over the edge to just start migrating data to the new ES cluster (7.14) -- and once that happens, I'm going to bite the bullet and just enable replicas which is something that wasn't enabled on the original cluster (due to costs when I first started).

If you notice anything quirky with the production API, let me know -- I've set it up to start re-ingesting comments working backwards so that there the most recent 72 hours of data doesn't have gaps. I'll continue to work on restoring the shards that didn't want to come on line, but if they are lost, it isn't too big of a deal because a lot of that data can be easily reloaded. The bigger issue is that reloading data into a cluster that isn't set up properly with replication is merely kicking the can down the road and not addressing the root problem -- so I think it makes sense to bring up the new cluster with replicas enabled and start migrating data to it. It may take a few weeks to get it fully populated and a few thousand more in NVMe drives but it will be worth it long term.

Thanks for your patience as always!


r/pushshift • • Apr 24 '20

In an effort to relieve some of the strain on the API, the rate limit is being adjusted to one request per second.

32 Upvotes

Unfortunately, I hate to do this but there has been a huge resource strain on Pushshift as it has grown. With over 5 million requests per day (with some requests being very expensive), it's necessary to drop the rate-limit until more hardware can be added.

This will hopefully reduce the number of 5xx statuses.

Due to the sudden notice, I am temporarily turning off auto-blacklists for a high number of 429's from specific IPs. However, IP's that flood the API will still be auto-blacklisted. I'm not a fan of blocking IPs but it's sometimes necessary for the overall health of the API.


r/pushshift • • Sep 18 '19

To the person who was making 100+ requests a second -- your IP has now been blacklisted

32 Upvotes

If your IP ends in "21.70" and you are getting a Cloudflare blocked page, please feel free to PM me.

Unfortunately your script was ignoring the ~42,000 429 error messages so I had to block your IP to prevent causing service disruptions.

Again, getting occasional 429 error codes is perfectly fine -- that code means you're hitting the API too many times in the rate-limit window. Getting a few hundred a day is perfectly fine so long as you throttle back a bit. Getting 10,000 every few minutes is a bit of a problem.


r/pushshift • • Nov 10 '22

I made a browser extension that lets you see Reddit posts before they were edited or removed

Thumbnail
github.com
31 Upvotes

r/pushshift • • Sep 23 '18

[Dataset] Metadata for 69+ Million Reddit Users in CSV format

31 Upvotes

Source: https://files.pushshift.io/reddit/69M_reddit_accounts.csv.gz


This file contains the metadata for 69+ million Reddit users including Account id, user name, account creation time (epoch), update time (when the data was collected), total comment karma and total link karma.

The file is compressed using gzip and is approximately 1 gigabyte in size (compressed).

This data can assist with analyzing Reddit data by adding additional information such as the account age which may give additional insights when compared to other datasets such as comments and submissions.

Karma values are also present which may help to give a baseline for normalization of other data and a better understanding of the statistical dispersion of karma levels for the bulk of active Reddit users.


r/pushshift • • Jun 27 '23

bye bye, reddit api!

30 Upvotes

A dark time for scholars and students who want to conduct research based on the data requested from Reddit (and Twitter). Are there any remaining alternative platforms for observing public discussions in the future?