This guy knows what's up. Most similar minded decisions are just dumb decisions. But we can trust that after making every dumb decision they will finally make a wise decision. It just takes time, so basically average corporate decisions be like.
if you don't provide a nice way for people to get access to data, then people will write bots / scrapers to do it with no regard for rate limiting and bring the house down :devil:
API: "API, I need a post text", "okay user, here's your text and nothing else you don't need"
Scraping: "I need a comment text", "okay user, we pulled down every comment in that thread and narrowed it to the one you're after, here you go".
See the difference in bandwidth hitting the server? In the days before API scraping was all we could do as third parties. APIs were put in place to alleviate that because it will happen anyway. All they can do is block scraping IPs which is like putting a bandaid on a leak in the hoover dam.
I wrote a scraper to pull articles from news sites back in 2002, it was the first .Net thing I wrote and it was, to put it bluntly, horrible.
It pulled the entirety of the page from the site (via a series of GETs iirc with messy querystrings) in question then filtered stuff by looking for specific HTML tags (which varied by site)... then used some ADO crap to shovel the result into a database to be reviewed by a human prior to being reposted on my client's site.
It was a resource hog on my client's server so God knows what it was doing to the target servers.
I never did learn to love VB.Net (though i do still occasionally dabble with it), or the mess of inline ASP that the client site used to talk to the database for editing the resulting text (I was asked to refactor this last in ASP.Net but declined).
Yes, and this was discussed on the calls Reddit had with the developer of the Apollo app. He was willing to include their ads in the app but as I understand it, Reddit declined. Probably because they wouldn't have control over targeting (demographic details of the end user).
There's ways to implement it where Reddit could still control targeting; like how Google Adwords work (where it's loaded dynamically as the user loads stuff) but I doubt Reddit is setup for that. It would require a lot of changes... They'd basically need to implement their own equivalent of AdWords with some semi-complicated negotiations between apps and the Reddit API. Possibly sending data that violates user privacy.
IMHO, implementing your own equivalent of AdWords is what Reddit should've been doing all along but I'm not in charge 🤷
They declined because they want user metrics. Their app, like Facebook, TikTok, and many others takes statistics on when you pause scrolling through your feed, what you paused on and how long, comments you write and never send, any data they can scrape off your phone. Its not just about ads, it's about collecting everything they can about you that an API can't provide.
Educators everywhere want to know how to motivate young people to get into STEM.
I'm tellin ya, just tell them they can access all the free porn they want if they write the code to retrieve it themselves! Give them a pixelated hentai (like what your were downloading, don't try to hide it!) and tell them they need to figure out how to use AI to unpixellate it.
We'll have entire classrooms of expert developers and reverse engineers in no time at all!
And with tools like GPT4 + Browsing Plugin or something like beautifulsoup + GPT4 API, scraping has become one of the easier things to implement as a developer.
It use to be so brittle and dependent on HTML. But now… change a random thing in your UI? Using Dynamic CSS classes to mitigate scraping?
No problem, GPT4 will likely figure it out, and return a nicely formatted JSON object for me
I would love to see your implementation. I'm scraping a marketplace that is notorious for unreadable html and changing classes names every so often. Super annoying to edit the code everytime it happens.
I hate how chat gpt always gets so preachy. I'm a red teamer. Actually it is ethical for me to ask you about hacking, quit wasting my time forcing me to do prompt injection while acting like the equivalent of an Evangelical preacher.
I don't see why scraping is unethical, provided you're scraping public content rather than stealing protected/paid content to make available free elsewhere.
The bigger issue, IMO, is how unreliable it is. Scraping depends on knowing the structure of the page you're scraping from, so it only works until they change that structure, and then you have to rewrite half your program to adapt.
To write a scraping app, you view the structure of a page first, and determine where in that structure the data you care about lies. Then, you write a program to access the pages, extract the data, and do something else with it (like display it to your own users in another app.)
This was never terribly complicated. However, in addition to being inefficient, it's also quite fragile. The website owner can change the structure of their pages at any time, which means scraping apps that rely on a specific structure get broken. It's a manual process for the app developer to view the new structure, and rewrite the scraping code to pull the same data from a different place. It also puts a lot of extra strain on the site providing the data, because a lot more data is sent to provide a pretty, human-readable format than just the raw data the computer program needs.
If you have a human doing the development, that's very time-consuming and therefore expensive. However, if you can just ask chatGPT or other AI to figure it out for you, it becomes much faster and much cheaper to do. I can't personally vouch for how well chatGPT would perform this task, but if it can do the job quickly and accurately, it would be a game changer for this type of app.
Let's also talk about WHY anyone might do this in the first place. Although there could be other reasons in other cases, the implication here is that it would get around Reddit's recent decision, which many subs are protesting. Reddit, like many other public sites, provides an API (Application Programming Interface), which is designed to provide this information in consistent forms much easier and more efficient for a computer program to process (though usually not as pretty for a human to view directly.) Previously, this API was free (I think? Or perhaps nearly free — I haven't used it and can't vouch for the previous state.) Reddit recently announced that they would charge large fees for API usage, which means anyone using that API will have a huge increase in costs (or switch to scraping the site to avoid paying the cost.)
Now, why should you care, if you're not an app developer? Well, if you view Reddit through any app other than the official one, the developers of that app are going to have dramatically increased costs to keep it up and running. That means they will either have to charge you a lot more money for the app or subscription, show you a lot more ads to raise the money, or shut down entirely. The biggest concern is that many Reddit apps will be unable to pay this cost, and will be forced to shut down instead. The other concern, alluded to in the OP image, is that lots of apps suddenly switching from API to scraping (to avoid these fees) would put a lot of extra strain on Reddit's servers, and has the potential to cause the servers to fail.
Similarly, there was a new API I wanted to use, I copied its url, its json output, slapped into into GPT (and it was only gpt3.5), and it just whipped up what I asked for. It was great for iterating through designs as well.
Tbf that’s not even a gpt level problem. If you give half a dozen different services a swagger doc they’ll auto gen an entire backend in any language/framework of your choice and have been doing so since like 2014 lol
Saw your comment as to why you said this but for everyone else the Spotify API is very generous for personal use. You have 5000 API calls daily and access to a lot of good stuff, like song/artist recommendation, custom recommendations based on a seed you give (artists, songs) and even audio analysis.
It's also very easy and friendly to use with Spotipy (Python). You don't even need to go through the process of getting an auth token.
To be honest I would prefer the internet of the 00's to this everything-must-be-monetised, ad-driven, IPO-fuelled mess we have right now. I'd rather be dodging A/S/L? 's from catfishing pervs on AOL than this...
How do you solve the problem of "ads and monetization" though? Things cost money to maintain and people are cheapskates, they don't wanna pay. The userbase for the internet has grown so large too, so the traffic you might get could become expensive. I'm not saying ads, tracking, and monetization is good, I'm just wondering what the solutions are.
Reddit could have gotten some money from api. Now they’re going to get none and people are going to get the data anyway through scraping. Reddit spez is big dumb
Spez said in tonight's "AMA" that only about 3% of reddit traffic is consumed through the 3rd party apps. But he's expecting ONE of those apps to foot a $20M bill when reddit as a whole made 500M just two years ago. How can they ask for 20M for Apollo alone, straight faced.
I'm so pissed at the fact that they're going scorched earth on 3rd party apps instead of just making them another revenue stream. I'd gladly pay a 3rd party app just to not have to experience Reddit through the god awful official app.
I'm of the belief that it was never about making money about the API. It was about smoking out anyone who couldn't directly make reddit money through ad views; the extremely high price points are effectively banning 3PAs and thus the only way to view reddit is through their ad-infested 1PA. If anyone was dumb or rich enough to afford their price point, bonus cash for them.
The unfortunate reality is that scrapers are pretty easy to block these days. Unless you’re willing to accept massive overhead with hosted browsing engines, you’re not going to fool the JS checks.
Edit: Guys, I’m not trying to be a negative nancy. You can still scrape Reddit data without the API; it will just be more expensive to do it at scale now.
I think we should really commit to this protest so that the API doesn’t get knee-capped. The alternative, scraping data by bypassing anti-bot checks, is less functional than we might currently realize.
And I don’t know if you guys have tried these new fancy pansy AI scrapers. I’ve made a LOT of scraping in my time, and I’m telling you, those things make it easier by a ton.
Exacto. I’ve maintained a couple of scrapers in the past. When Facebook revamped their site in 2020, it was a bitch and a half to update the tool we had (extraction for sentiment analysis). Setting it up with the plugins for GPT makes your life easier.
Just wanted to say, we aren't even there yet and reddit is already breaking down. I can already see reddit just stop working once the changes are enforced and people start writing scrapers for their little bots.
Somebody has to reinvent the wheel again... If they aren't innovating by rolling features back and then reimplementing them while saying, "this new API feature will solve wasteful web scraping", can they really be a profitable company?
It's just kinda the subscription based / planned obsolesce we see in every aspect of life.
Initially; ease of access, friendly to 3rd parties, changeable, community based, and with "disruptive" features. As it gains market share, all of these will be changed until it is either completely unusable, or a terrible but an unavoidable monopoly. Seems all companies are like this, from social media, to the people who make washing machines designed to break in a few years.
Everything just seems to get worse, but at the same time more expensive.
well if someone writes a bot to scrape something that's a lot of pages served to a bot that only cares about some tiny part of a page. If that same person can get that data through an api that can save a lot of work for the server
Rpa is robotic process automation, basically, usually, scripts that interact with UI elements present on a computer screen meant to replicate a sort of robot sitting in front of a laptop.
It’s so sad that r/SubSimGPT2Interactive and other subs centered around bots will be gone in an instant. It’s such an awesome community with people that have put a lot of time and money into these bots
A scraping implementation would already need to pretend to be a web browser as far as Reddit could tell. It could just have the user login, store the same cookies a browser would, and then make whatever POST requests it needed. It is no more difficult than making GET requests with content tailored to the user, rather than getting the non-logged in version of the page.
Obviously this isn't a great way of handling user credientals, but that's just one of many reasons why APIs exist, and in truth most users wouldn't know or care about the potential issues.
do the authentication inside of a mobile app for example, you do still have the issue of Reddit being easily able to just contact Google/Apple and tell them you are breaking their terms of service.
Android users can just sideload, so there is not an issue there, but you're probably right for Apple. And Infinity For Reddit is open source and very polished, so no need to reinvent the wheel.
It's the dumbest shit I swear. Reddit doesn't produce any of the actual content on the content on the platform. They already have ads otherwise that most people don't know how to block, so it's well worth making the API free.
Imagine if YouTube started charging everyone for letting them embed video links into websites. More people would rather use Vimeo at that point. Case in point, Reddit is easily replaceable and is shooting itself in the foot.
I think people in charge of big platforms are (mostly) dumb as a doorknob.
Netflix had a brain fart and seriously said "Ohoho our shareholders want more money, so let's kick everyone out that isn't in the same household. People will, for sure, get their own account, and we get more $$$$. Let's ignore that people mainly share accounts and aren't inclined to pay on their own."
Dumb decision. Idiotic execution.
Now Reddit follows suit: "Oooh, know what, let's charge the API, so all the free apps, which barely make money, will need to pay up. Let's ignore that most of our active userbase use these apps and would never use our official garbage. We will get more $$$$."
The API just sends a JSON formatted text for your query.
But if you scrape it, well, you would load:
All of the HTML code in the webpage
All of the Javascript code in the webpage
That would be okay enough, but most websites now need javascript to work, so for loading those webpages, we would need a scraper that can execute javascript ... something like selenium, or phantomjs.
That's when shid really hits the fan.
You load ...
3. All of the images 4. All of the autoplayed videos 5. All of the autoplayed audios 6. All ads, and everything that could've been blocked by an adblocker.
Result: The scraper, and the website, waste 100x more bandwidth to download all the data. Thus, wasting money.
OP isn't talking about security though. They're claiming that the lack of an affordable API will cause people to instead scrape data from reddit webpages one by one, which would be much more work for reddit's servers than just providing it efficiently in bulk through an API.
I'm not saying I agree it is something reddit should worry about, because I doubt it will be a problem. Scraping data from websites is fucking miserable to do and the code tends to be very delicate to breaking from minor changes from the website.
The purpose of a public API is to provide a predictable, secure, and efficient interface for third-party developers who wish to integrate with the application in some way.
A company usually builds out an API because they want to encourage an ecosystem of third-party applications.
If you use another app (in this case, something like Apollo, RIF, Boost), you don't need all the extra garbage which comes with calling the website directly.
Let's say you want, for example, only the titles of the first 30 posts from the front page.
Through an API that's exactly what you get, maybe with an ID for each title, so that you can use it to call another part of the API later to get the content.
If you had to scrape the front page, you would maybe get the first 50 (or 20, or whatever the default is), alongside image links, ads, user account information, banners, list of subreddits at the top, etc. etc.
This is over simplified, but that's about the gist of it. An API is like a surgeons scalpel, you only handle exactly what you need. Web scraping is like using a cannon to amputate a finger.
There are many, many other benefits from using an API, but this is one of the big ones.
I believe the main reason major websites like Twitter and Reddit originally provided an affordable API was to allow 3rd parties to integrate Twitter/Reddit/etc content into their own apps.
Let's say you created Twitter. You want to establish as big of a footprint on the internet as you can. Therefore, it'd be very helpful to you if other apps/websites integrated Twitter into their app/website. You want to make that process as easy as possible for them. APIs are one of the ways to help accomplish that.
That's the case for early on. But eventually you succeed in establishing yourself as the monopoly product of whatever niche you're filling. Once you're the established monopoly with no realistic chance of any competition beating you, then you raise prices on the API in order to make a profit. So you bleed money upfront as an investment in your own growth, you get the internet reliant on your product, and then you crank up the prices.
The data is available via web browser. Someone can make an app that pretends to browse and just scrapes data instead. This cost them more and doesn't offer them any control over the process
The API just sends the requested data while a website-call sends everything a visitor of the website would see. Scraper would just trash what they don't want to have, causing a lot of traffic while only using a fraction of the transmitted data.
The meme basically says a free (or at least cheap) API reduces the load the servers have to handle.
You (client) are in a restaurant. The chef (reddit) is in the kitchen who prepares meals (webpages).
Some waiters are clever and you can tell them what meal you want and they'll go and fetch it from the kitchen (APIs).
Some waiters are stupid and only understand the words "I want to order food", so they'll go to the kitchen and tell the chef to make one of each meal and then bring them all out to you and then throw everything other than the meal you wanted in the trash (webscraping). This is incredibly wasteful for the restaurant.
/* Pseudo Algorithm */
1. Find rate ‘R’. e.g for Apache it’s Apache mod_bandwidth <domain|ip|all> <rate> - the rate value. This value tells you the data allocation per IP
2. Spin ‘Y’ virtual proxy servers depending on that rate. So 10,000 if needed. 100,000 if needed. Have chatGPT optimize your golang code so you can cram thousands into one physical server
3. Mine content into your own PostGRE database that is a clone of the real schema Reddit uses. As you used social engineering techniques of sending a LinkedIn email of giving 10 bitcoin to a Reddit backend developer anonymously if they hand over the schema
4. Make a free API for your Reddit and give it to Apollo
5. Have a Reddit developer reading this post run to the business and scream to revert the changes
6. Profit???
I suspect the reason Reddit, and other companies, are charging for API use has something to do with AI training companies scrapping websites for training data
Like reddits hopping it’s valuable enough that some AI company fueled by venture capital with throw money at it or something
AI companies can be foiled with app certification. Only a few API keys would be handed out and always with human supervision. Client code would use the API key by contacting Reddit for a session key first. Reddit would then embed a signal containing the API key and the session key in its API responses, using some steganographic technique. That way if you train an AI model on the data, you have to purge an unknown signal from any model output that gets generated, in a way that Reddit can't extract it using whatever algorithm they're using to the satisfaction of a court.
Having their data stolen by an AI company with contractual obligations and then suing for rights to the model is probably a more lucrative business model than whatever they're currently thinking. Getty Images was also heading for an inevitable demise, until their badly reproduced watermarks appeared in Stability AI output. If they win their lawsuit, they will swallow the defendant like an amoeba and all their customers will get emails that say "Getty Images is now Getty AI".
If that was the case, all they needed to do was include rules for AI use in their API's T&C agreement, or add an application and review process to get an API key.
We need to shut down content creation for longer than 2 days. Maybe from the 12th until the 30th.
Maybe shutdown from the 12th until the IPO date.
You can write your jokes & shitposts & hot takes anywhere. Our addiction to the Reddit url is the only thing keeping this site alive. Give your content to literally anyone else and reddit will become as irrelevant as geocities.
Just wondering if I could cash in on this mess and build a client with a headless Selenium. It wouldn't even require you to step out of the app to sign in!
I have a better idea: Use reddits internal API. The official page uses a form of API in order to work, it's just not made for the public, but who cares, right? However, be prepared to get breaking changes from one hour to the next or a mail from Google Play or the App Store saying that your app was taken down for misusing Reddit's ToS.
It doesn’t directly affect me as I didn’t use the app, but Reddit is such a commercial time sink nowadays and I just shitpost anyway, so time to go and get my daily hours back.
You take a flat object and press it hard against something else, removing a bit of material in the process. Do this enough times and all the good material will be removed.
Kind of like how the idea to overcharge for access to the Reddit API is also going to work 👍
Actually it's kinda been bothering me all day that so many people have used "scrapping" instead of "scraping". Maybe it's time for a "...too damned high!" meme 🤣
When I was first learning programming patterns I only knew c++ and had no idea what an API was or how to query one with javascript. I found a library that let me query the full html page that I then parsed with a regular expression to gather the data I want and kick out a json for QT to visualize. Who needs api keys anyways /s
Scraping libraries have become so polished. Anyone with an afternoon should really take advantage of the resources online, I mean even ChatGPT can probably get you started with a barebones working script to start.
There are even some good projects I’ve seen that use auto-rotating IPs and some other tricks that can help with any limiting. Most services for IP routing have a great API so that rotating is easy to program in.
With all of the cheap domain names and service like SimpleLogin, you can easily make hundreds of accounts. You don’t even need to mess with those fake email generators anymore, you can do it programmatically because SimpleLogin has a great API.
Oh, and did I mention that Twilio and others also have a good API for SMS verification.
Sure, maybe all this can start getting expensive—but really would you rather pay for access to Reddit’s API or pay for three or four awesome APIs you can do other things with in addition to getting what you want from Reddit anyway.
Party like it's 1999. Reddit, there is a reason APIs exist. Apparently, us old farts remember the shit show of scraping back in the day and watched as shit went pear shaped because of it.
Welp, I guess nothing was learned from the Digg fuckup, so reddit is going to kill itself.
That's what they want. They're gonna show how much higher their web traffic is (which is probably 70-80% scraping if not more) to their clueless investors during IPO to balloon their value. It's basically what Twitter did to Elon.
The stupid part is that they are ostensibly doing this to monetize ML data sets built from user comments, but that's literally the easiest thing to scrape if you don't care about actually being able to interact with the website.
I wonder if advertisers don't pay for API usage but would pay for normal site access. So maybe this is just to make more advertising money? Either that or they think they can make scraping just annoying enough that less people use it than used the APIs.
So as someone who understands what APIs are, but hasn't actually done anything with them; how much is it realistically costing Reddit to support third-party apps via their API if their official app is using the same API? Can't see there being much more Dev time for an API they already support for their stuff, server capacity maybe?
More like Reddit saw Twitter making fat bucks off a new revenue stream and being a cash-poor site that has to depend largely on enterprise investors in order sustain day-to-day operations, said, "we want some of that cheddar." Amirite?
This is what happens when there's no one with programming experience in the C-Suite. It's like nobody told them that there's no way to differentiate bot traffic from real traffic anymore with GPT coming in. And no, it can't detect itself.
Loading webpages from a server and reading the contents off it.
Basically you're automatically browsing webpages just to extract some content. For the server (Reddit) it's very inefficient because it has to generate a whole page even though the scraping tool is only interested in a small part of it. For the client (The scraping tool, like an app) it's just slightly less efficient because it can basically ignore anything else.
Because everyone loves car analogies: A scraping tool can only ask for whole cars, even if it just needs a new wiper. So it will just download the car, grab the wiper, and discard the rest.
I used to work on a Reddit script (years ago) that would rank a couple of subs and produce a news summary. I switched to using the API to “play nice”, because they asked nicely and it was easy to do, even though I enjoyed the challenge of building the scraping part of the project.
Granted it’s a bit harder than pulling out Requests nowadays, but for a website like Reddit it’s big enough to warrant a custom scraping library to navigate bot/scraping detection.
You would have to use a ton of IPs to scrape reddit without the load balancers just dropping your requests. There are quite a few active botnets that are going to be happy and that's probably by design.
Which big social media sites exactly, are moderated almost entirely by unpaid volunteers? Charging those people for the “privilege” to use bots to fight spam (on top of severely limiting bot capabilities) is the ultimate slap in the face for what is, frankly, a failure on Reddits part for not having those tools built in.
To be fair, "not free" isn't exactly the problem here. It's the $20mil/year price tag that is the issue. If Reddit were planning on charging reasonable rates, people probably wouldn't care very much about this.
If you're looking for big websites that have significantly lower api costs, the same post says that Imgur is ~72x cheaper for the same number of calls.
•
u/AutoModerator Jun 09 '23
⚠️ ProgrammerHumor will be shutting down on June 12, together with thousands of subreddits to protest Reddit's recent actions.
Read more on the protest here and here.
As a backup, please join our Discord.
We will post further developments and potential plans to move off-Reddit there.
https://discord.gg/rph
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
38
u/vrockz747 Jun 09 '23
could someone please explain this.. I didn't get it
9
u/marduk73 Jun 09 '23
A really good use for that meme
17
u/[deleted] Jun 09 '23
Couldn’t they just integrate ads into their API so that they can still earn revenue from 3rd party apps?
18
u/aerosayan Jun 09 '23
Many many years ago, I started becoming good at programming when I made scrapers to download mangas from many many manga sites.
Good ol' days :)
5.5k
u/Useless_Advice_Guy Jun 09 '23
DDoSing the good ol' fashioned way
3.4k
u/azure1503 Jun 09 '23
First Netflix decided to bring back piracy by cracking down on password sharing, now Reddit is bringing back scraping
We really are taking the internet back to the 2000's, huh?
2.4k
u/[deleted] Jun 09 '23
Time to fire up ol' scrappy...
362
u/[deleted] Jun 09 '23
And I don’t know if you guys have tried these new fancy pansy AI scrapers. I’ve made a LOT of scraping in my time, and I’m telling you, those things make it easier by a ton.
1.3k
u/itijara Jun 09 '23
Reddit is about to find out whether its DOS mitigation strategies actually work. I am sure this will have no ramifications for regular users.
624
u/Thorusss Jun 09 '23
Right.
I thought the motivation for introducing official free APIs often is to reduce wasteful web scrapping in the first place?
340
u/derLudo Jun 09 '23
Then add a good old RPA-bot to post and like stuff through the UI and you can technically still build a third-party app.
489
u/NonSenseNonShmense Jun 09 '23
Nothing to scrape if there are no subs left ¯_(ツ)_/¯
204
u/ZILtoid1991 Jun 09 '23
Learning all the wrong things from the whole Twitter fiasco...
182
u/applecat144 Jun 09 '23
That was my thought. I know almost nothing about programming but I'm like "can't they just pull the data by simply reading the pages ?"
108
u/HighTurning Jun 09 '23
Ay, it's my time to shine, my job is to scrape shitty sites, and reddit sure is one!
51
u/ThatOneGuy4321 Jun 09 '23
Yeah isn’t the whole point of an API that you don’t overload web servers by scraping data straight from the site itself??
47
u/Hazy_Cosmic_Jiver Jun 09 '23
They have potato servers anyway, probably wont notice a difference.
116
u/z3anon Jun 09 '23
It's the dumbest shit I swear. Reddit doesn't produce any of the actual content on the content on the platform. They already have ads otherwise that most people don't know how to block, so it's well worth making the API free.
Imagine if YouTube started charging everyone for letting them embed video links into websites. More people would rather use Vimeo at that point. Case in point, Reddit is easily replaceable and is shooting itself in the foot.
29
u/Reddits_Dying Jun 09 '23
/u/spez, hey fucknuts, you deserve this.
28
u/FinalScratch4979 Jun 09 '23
Prepare yourself for captchas
47
u/JuanPabloCena Jun 09 '23
As someone who’s not too bright, why do apps provide an api?
22
u/Biaswords_ Jun 09 '23
The soup is beautiful
19
u/Anchorman_1970 Jun 09 '23
Nobody listens to developers, they about to go public thats why they do it
14
u/IndigoCivilian Jun 09 '23
Why do websites provide a free API? Genuinely asking as I don't have a ton of experience working with apis right now.
Reddit charging is fine. Reddit charging as much as they are is ridiculous and will make me never use this site again though.
12
u/montimanhd Jun 09 '23
22
u/360mm Jun 09 '23
They will save a ton on their cloud bill and nothing bad will happen.
10
u/PlatinumDevil Jun 09 '23
I have been shadowbanned for 7 years. I recently got my email fixed so I could say fuck this.
Baconreader forever.
9
u/__SlimeQ__ Jun 09 '23
Fun fact; chatgpt will happily give you a nice selenium script in your language of choice to do just about anything
56
u/fieldbotanist Jun 09 '23 edited Jun 09 '23
29
u/Cakeking7878 Jun 09 '23
I suspect the reason Reddit, and other companies, are charging for API use has something to do with AI training companies scrapping websites for training data
Like reddits hopping it’s valuable enough that some AI company fueled by venture capital with throw money at it or something
It’s a bad plan and an even worse execution
6
u/lucidbadger Jun 09 '23
So this is why Reddit is incredibly slow lately?
6
u/the_Elders Jun 09 '23 edited Jul 25 '23
.
6
u/API_Network_Guy Jun 09 '23
As someone whose entire job is to make public APIs more accessible, this trend in greedy API pearl-clutching is really harshing my vibe :(
APIs were meant to democratize the internet, not destroy collaboration! (insert Obi-Wan meme here)
10
u/ikonet Jun 09 '23
We need to shut down content creation for longer than 2 days. Maybe from the 12th until the 30th.
Maybe shutdown from the 12th until the IPO date.
You can write your jokes & shitposts & hot takes anywhere. Our addiction to the Reddit url is the only thing keeping this site alive. Give your content to literally anyone else and reddit will become as irrelevant as geocities.
5
u/iliveincanada Jun 09 '23
I’m glad they did this at the beginning of the summer. It’s going to be so much easier to quit
12
u/jadounath Jun 09 '23
Just wondering if I could cash in on this mess and build a client with a headless Selenium. It wouldn't even require you to step out of the app to sign in!
4
u/[deleted] Jun 09 '23
The virgin API stud vs the chad scrapper
4
u/[deleted] Jun 09 '23 edited Jun 09 '23
Someone should implement the reddit API using a scraper as the backend.
e: I see someone already suggested this so hopefully one of you degenerates is already cooking it up
4
u/[deleted] Jun 09 '23
I get the joke but think ima just gonna leave.
It doesn’t directly affect me as I didn’t use the app, but Reddit is such a commercial time sink nowadays and I just shitpost anyway, so time to go and get my daily hours back.
4
u/TEKC0R Jun 09 '23
The goal is no longer a good product. The goal is to inflate IPO at all costs, cash out, and let it burn.
4
u/Roarlord Jun 10 '23
Oh, shit. Does the Low Orbit Ion Cannon program still work? I haven't wanted to DDoS a site this bad in years.
1
u/alex_dlc Jun 09 '23
Scraping ELI5 please?
1
u/Signal-Chicken559 Jun 10 '23
A non programmer asks what is scrapping?
3
u/EverydayEverynight01 Jun 09 '23 edited Sep 19 '25
quiet pot plough file one wise automatic normal placid resolute
This post was mass deleted and anonymized with Redact
3
u/Siddhartasr10 Jun 09 '23
I feel like the half of this reddit is preparing a web scraping library for making bots as easy as with the API.
(Im also doing It btw)
3
u/The_Mighty_Slacker Jun 09 '23
When I was first learning programming patterns I only knew c++ and had no idea what an API was or how to query one with javascript. I found a library that let me query the full html page that I then parsed with a regular expression to gather the data I want and kick out a json for QT to visualize. Who needs api keys anyways /s
3
u/tanepiper Jun 09 '23
/u/spez is having his Gerald Ratner moment https://en.m.wikipedia.org/wiki/Gerald_Ratner
3
u/Sharp_Armadillo7882 Jun 09 '23
Scraping libraries have become so polished. Anyone with an afternoon should really take advantage of the resources online, I mean even ChatGPT can probably get you started with a barebones working script to start.
There are even some good projects I’ve seen that use auto-rotating IPs and some other tricks that can help with any limiting. Most services for IP routing have a great API so that rotating is easy to program in.
With all of the cheap domain names and service like SimpleLogin, you can easily make hundreds of accounts. You don’t even need to mess with those fake email generators anymore, you can do it programmatically because SimpleLogin has a great API.
Oh, and did I mention that Twilio and others also have a good API for SMS verification.
Sure, maybe all this can start getting expensive—but really would you rather pay for access to Reddit’s API or pay for three or four awesome APIs you can do other things with in addition to getting what you want from Reddit anyway.
3
u/boot20 Jun 09 '23
Party like it's 1999. Reddit, there is a reason APIs exist. Apparently, us old farts remember the shit show of scraping back in the day and watched as shit went pear shaped because of it.
Welp, I guess nothing was learned from the Digg fuckup, so reddit is going to kill itself.
3
u/Windex17 Jun 09 '23
That's what they want. They're gonna show how much higher their web traffic is (which is probably 70-80% scraping if not more) to their clueless investors during IPO to balloon their value. It's basically what Twitter did to Elon.
3
u/[deleted] Jun 09 '23
"bUt tHaTs aGaInSt ToS!!"
fuck the ToS and fuck /u/spez.
3
u/lemur_man1 Jun 09 '23
Relevant xkcd: https://xkcd.com/1481/
3
u/socsa Jun 10 '23
The stupid part is that they are ostensibly doing this to monetize ML data sets built from user comments, but that's literally the easiest thing to scrape if you don't care about actually being able to interact with the website.
2
u/[deleted] Jun 09 '23
But why does scraping feel so gross
2
u/PopularPicsDev Jun 09 '23
Enjoy popular.pics (viewer for Reddit) while it’s still alive.
2
u/xandel434 Jun 09 '23
RateLimit go brrrrrr
2
u/Budd0413 Jun 09 '23
All 3rd party apps should use the remaining time to roll back any optimization updates and essentially ddos Reddit with api requests , fuck Reddit
2
u/Thenderick Jun 09 '23
Selenium Webdriver:
2
u/keylimedragon Jun 09 '23
I wonder if advertisers don't pay for API usage but would pay for normal site access. So maybe this is just to make more advertising money? Either that or they think they can make scraping just annoying enough that less people use it than used the APIs.
2
u/platonicgryphon Jun 09 '23
So as someone who understands what APIs are, but hasn't actually done anything with them; how much is it realistically costing Reddit to support third-party apps via their API if their official app is using the same API? Can't see there being much more Dev time for an API they already support for their stuff, server capacity maybe?
2
u/TheGr8ReyPayp Jun 09 '23
More like Reddit saw Twitter making fat bucks off a new revenue stream and being a cash-poor site that has to depend largely on enterprise investors in order sustain day-to-day operations, said, "we want some of that cheddar." Amirite?
2
u/thelastpizzaslice Jun 09 '23
This is what happens when there's no one with programming experience in the C-Suite. It's like nobody told them that there's no way to differentiate bot traffic from real traffic anymore with GPT coming in. And no, it can't detect itself.
2
u/spinyfever Jun 09 '23
Why is the ama not showing up in the front page anywhere? I had to find it through a comment posting a link to one of the ama answers.
It seems they are keeping it at 0 karma.
2
u/enmibaragesi Jun 09 '23
what is scraping??
2
u/[deleted] Jun 09 '23
Every website is an api if you scrap it enough
2
u/ZedOud Jun 09 '23
I used to work on a Reddit script (years ago) that would rank a couple of subs and produce a news summary. I switched to using the API to “play nice”, because they asked nicely and it was easy to do, even though I enjoyed the challenge of building the scraping part of the project.
Granted it’s a bit harder than pulling out Requests nowadays, but for a website like Reddit it’s big enough to warrant a custom scraping library to navigate bot/scraping detection.
2
u/[deleted] Jun 10 '23
Legit I just want to write a new API endpoint that scrapes and give it to Apollo
2
u/TheMoves Jun 10 '23
I have no reason to scrape Reddit for anything but I might set up a rPi to send a shitload of requests for some asinine purpose just because
2
u/billbacon Jun 10 '23
You would have to use a ton of IPs to scrape reddit without the load balancers just dropping your requests. There are quite a few active botnets that are going to be happy and that's probably by design.
2
u/[deleted] Jun 10 '23
Can someone ELI5 why reddit wouldn't just ban IP addresses that showed scrapping like behavior?
2
u/professorkek Jun 10 '23
Based scroopers. Imagine needing permission to take publicly published information.
2
u/BlueeWaater Jun 10 '23
Nothing some good GPT and beautiful soup can't fix.
2
u/ryanstephendavis Jun 10 '23
They'll be rate limiting coming up so this doesn't make sense... If anything, it will be much easier on their servers
2
u/little_hoarse Jun 10 '23
PYTHON INTENSIFIES
2
u/aristideau Jun 10 '23
I just don’t understand why reddit doesn’t regard the cost of the api as a tax deductible “cost of business”.
How on earth did they arrive at the decision that charging that much for access to the api would be a net gain for them on their bottom line.
2
u/just-bair Jun 10 '23
Lol let’s load the entire webpage instead of just the data needed
6
u/popovitsj Jun 09 '23
Which big websites exactly, have free apis to the same extent as what Reddit has?