Quick and nasty script to get a set of DMs out of Quill on short notice. Assumes a base level of knowledge and that you have NodeJS installed already.
- Download and install a HTTP proxy, following this guide.
- If using Proxyman, install
Proxyman Proxy Helper Tool
to allow sniffing of HTTPS requests (see Preference > Advanced) - Open Quill and open the DM you'd like to back uup
- Look for request to
https://api.quill.chat/thread/history
, right click, copy as cURL. Paste this into a text editor. - Extract the
&dm=...
and&before=...
properties (ifbefore
exists)
- The DM property is the ID of the set of DMs you would like to back up. If you have multiple DMs to back up, you'll need to collect this property for each one.
- Before appears to be the method of pagination. I haven't tried backing up without it.
- Extract the
Authorization
andX-Quill-Session
headers from the cURL command. - Clone this repo, and modify lines 8-11 of
index.js
with the extracted properties:
const DM_ID = "CHANGE-ME";
const BEFORE_VALUE = decodeURIComponent("CHANGE-ME");
const AUTH_HEADER = "CHANGE-ME";
const QUILL_SESSION = "CHANGE-ME";
- In your terminal navigate to where to cloned the repo.
- Run
npm i
- Run
npm start
. - The script will populate a .txt file with your DMs in the following format, and a
files
directory with any files you've sent.
[user-id]: [comment]