I had been meaning to write a tool for downloading many posts at once, and the API update and subsequent breakage of all the existing tools provided a significant impetus to throw something together.
This tool only uses the "posts.json" endpoint, so I recommend familiarizing yourself with the various prefixes you can use in the search bar (e.g. "pool:")
Download: https://pastebin.com/raw/XXmLCJ43 (create a new .py file and paste everything into it)
How to Install
NOTE: If you're running Windows, you will need to install a Python 3 interpreter and add it to your PATH in the installer.
- Download the latest Python installer from here: https://www.python.org/downloads/ and run the installer.
- Be sure to click the checkbox that says "Add Python 3.x to PATH"
- Once you've installed it, open a command prompt and install the required "requests" module if you haven't already by typing:
pip install requests
- Finally, click on the script to run it (or run it from the command prompt if you want)
How to Authenticate
New site policy prevents some posts with tags blacklisted by default from showing (even in the API). To authenticate:
- Create a text file named "credentials" in the same folder as the script
- Put your username on the first line and your API key on the second line
- To generate an API key, go to Account > My Profile > API Key > Generate
- Restart the script
Updated