This is mostly why I left Reddit. The API allows far too much control and I started questioning what was even real. Being able to quickly find keywords and then have a network of bots that creates replies/upvotes/downvotes is very disturbing thought to me. I can't even imagine something like that on a large scale to change opinions.
How F5Bot Slurps All of Reddit
51–60 of 91 posts
Re: How F5Bot Slurps All of Reddit
#52Earlier quoted context omitted.
Reddit doesn't even allow users to save more than 1000 posts, and worse does not visibly document this or provide any kind of warning that the limit has been exceeded. Anecdotally, I've read users say that revisiting the saved pages will still show an "unsave" button so the information is recorded somewhere. But once a user exceeds 1000 entries on their "saved" page, adding new ones will silently vaporize old ones. h…
It's a bit weirder than that. It actually does save all the posts, but the "saved" page (like almost every other page on the site) will only show you 1000 items, so there's just no way to access all the older items once they've been "pushed off the end". I posted some more information about it a while ago here: https://www.reddit.com/r/help/comments/7en0uu/my_saved_posts...
Re: How F5Bot Slurps All of Reddit
#53> So here’s the approach I ended up using, which worked much better: request each post by its ID. That’s right, instead of asking for posts in batches of 100, we’re going to need to ask for each post individually by its post ID. We’ll do the same for comments. Seems a bit over the top imho. Maybe a better approach is to ask for a 1,000 and look for any missing — which you can grab individually. I’d be a little annoye…
Re: How F5Bot Slurps All of Reddit
#54edit: cool
Re: How F5Bot Slurps All of Reddit
#55Earlier quoted context omitted.
It's a bit weirder than that. It actually does save all the posts, but the "saved" page (like almost every other page on the site) will only show you 1000 items, so there's just no way to access all the older items once they've been "pushed off the end". I posted some more information about it a while ago here: https://www.reddit.com/r/help/comments/7en0uu/my_saved_posts...
If you unsave a newer one, wouldn't the older one pop up again because it updates the index with limit 1000 again? If the data is there, it should find all posts and then truncate, in that order, if I'm understanding this correctly.
Imagine I have a list of max length 5, when I initially fill it up it looks like [5, 4, 3, 2, 1]. If I save one more thing, it adds 6 at the front, then truncates the list and removes the 1 from the end, so now you have [6, 5, 4, 3, 2]. At that point, if I unsave #3, it just removes it from the list so you'd have [6, 5, 4, 2]. #1 is still saved, but nothing happens to pull it back into the list.
Re: How F5Bot Slurps All of Reddit
#56It is difficult for me to describe just how angry it makes me that reddit doesn't provide a way for users to even do basic things like "see all of my own comments" or "see all of the posts made to the subreddit I moderate". They keep nerfing the search APIs and claim it is so they could make the indexes more efficient, but while that might make sense for a full-text search interface, that is entirely unreasonable for…
Their API is so fucked that it is literally impossible to get more than a couple hundred posts from a subreddit. Thankfully, services like pushshift[1] exist, which has a sane API and the option to use plain elasticsearch. [1] https://github.com/pushshift/api
"see all of my own comments": http://api.pushshift.io/reddit/comment/search?author=saurik&... (use &before=[epoch] for pagination)
"see all of the posts made to the subreddit I moderate": https://api.pushshift.io/reddit/search/submission/?subreddit...
Re: How F5Bot Slurps All of Reddit
#57Earlier quoted context omitted.
Trading cpu for bandwidth, so optimize for what you want.
Decompression is usually cheaper (CPU-wise) than compression so technically you’re trading their CPU for less of your bandwidth and CPU. If you do it right you can even keep the content stored compressed without re-compressing by saving the compressed byte stream directly.
Re: How F5Bot Slurps All of Reddit
#58Earlier quoted context omitted.
Their API is so fucked that it is literally impossible to get more than a couple hundred posts from a subreddit. Thankfully, services like pushshift[1] exist, which has a sane API and the option to use plain elasticsearch. [1] https://github.com/pushshift/api
To answer GP's questions with Pushshift links: "see all of my own comments": http://api.pushshift.io/reddit/comment/search?author=saurik&... (use &before=[epoch] for pagination) "see all of the posts made to the subreddit I moderate": https://api.pushshift.io/reddit/search/submission/?subreddit...
I have a subreddit (/r/pushshift) that gives examples on how to use the API. I'm always happy to answer questions about the API and take suggestions to improve it.
I'm very very close to launching the new API which will have a lot more features and a better design than the current one.
Edit: I just realized my username on this site got truncated to uhhh ... wow.
Re: How F5Bot Slurps All of Reddit
#59It is difficult for me to describe just how angry it makes me that reddit doesn't provide a way for users to even do basic things like "see all of my own comments" or "see all of the posts made to the subreddit I moderate". They keep nerfing the search APIs and claim it is so they could make the indexes more efficient, but while that might make sense for a full-text search interface, that is entirely unreasonable for…
Yeah, Reddit's search is unusable. Some of the important features used to be corralled into CloudSearch but I think they killed that too. I pulled the dumps from Bigquery and am going to load them into PG at some point here, so I can do arbitrary queries without hitting BigQuery every time. Haven't looked at how to do that in realtime though, retrospective queries are mostly what I'm interested in. If you don't want…
Re: How F5Bot Slurps All of Reddit
#60This is mostly why I left Reddit. The API allows far too much control and I started questioning what was even real. Being able to quickly find keywords and then have a network of bots that creates replies/upvotes/downvotes is very disturbing thought to me. I can't even imagine something like that on a large scale to change opinions.
How do you change opinions using that? Would it be an illegitimate way to change someone's opinion?