Hey guys, I created an archiving script back when /r/pizzagate was being shut down (not the python guy) and was asked to created a script to help investigators search for keywords through reddit users. I decided to release it to you guys as well. It's nothing much but it's a useful tool if you don't want to search through a cuck like spez's posts for something.
SECURITY NOTICE: Do NOT only use Tor if you wish to stay anonymous. This script will not use Tor! You can use a VPN and still stay relatively (relatively because the Internet is complex) anonymous. I REPEAT all scripts used are open source. However this does not mean that something malicious may be happening. It just means the code being used is free for public viewing. As always, do your own due diligence.
Reddit user comments search script: http://pastebin.com/a38P9DWK
Reddit archive script (change url for another subreddit in script): http://pastebin.com/8y2mMeMy
Change the URL in the archiving script to point to another subreddit.
PS: That script was hurriedly made and is pretty lousy so there may be bugs. All scripts were developed and only tested on Linux so a Linux platform is preferred.
Installation Instructions:
1. Install Node.JS for your OS. https://nodejs.org/en/download/package-manager/
-
Once installed create a new directory for each script you plan on running and copy the script into a file called index.js
. .js
is the file extension not .txt! For those Window users.
-
Once the script is copied into the directory run this command in NPM within the same directory: npm init
-
Then: npm install --save request fs-extra crawler bluebird
-
Run in either your Node.js CMD (Windows) or Terminal/Bash (Linux/Mac): node index.js
Optional: For the user comments search script, Linux users can pipe output to a file. Run this command instead, node index.js | tee 'stdout.txt'
Stay tuned! I may release some more tools in the next few days that use the same dependencies!
view the rest of the comments →
go1dfish ago
You're talking about searching the archive of /r/pizzagate?
I have a general reddit comment search available here: https://ceddit.com/commentsearch?q=pizzagate
conspExec ago
I think other people are working on the searching the archive of /r/pizzagate although I can't entirely sure as there hasn't been much chatter about it.
It's a keyword search tool for reddit user's comments. So for example, the user /u/spez can be searched to see if there are any comments where he mentioned "pizza".
The link didn't work btw
go1dfish ago
You probably have the script domains blocked and such, it uses oauth.reddit.com and api.pushshift.io and unfortunately doesn't really work in tor browser.
Raw JSON search is available here though:
https://api.pushshift.io/reddit/search?before=&after=&count=0&limit=100&q=pizzagate&t=&sort=&context=
conspExec ago
Awesome! And that's the raw data for every pizzagate mention?
go1dfish ago
Yeah or any other search you want to run.