aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2022-03-19 13:21:33 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2022-09-18 16:36:55 +0200
commit73e1c7df0277fb3f3602f5ed6fa2a3e59b49b52e (patch)
treeea389933aa1ba4cda4ecd61296958f1171091ed3 /README.md
parent30328658d53b5327044abf2169339e0e5c15a6ee (diff)
downloadwee-slack-73e1c7df0277fb3f3602f5ed6fa2a3e59b49b52e.tar.gz
Add a script to get session tokens and cookies from Firefox
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index 87afa67..bc65c64 100644
--- a/README.md
+++ b/README.md
@@ -171,6 +171,13 @@ token (but not the token itself). If you're worried about this, you can use the
8. Return to WeeChat and run `/slack register <token>:<cookie>`.
9. Reload the script with `/python reload slack`.
+If you use Firefox, you can run the `extract_token_from_browser.py` script to
+get the tokens and cookies for all the teams you're logged into:
+
+```
+./extract_token_from_browser.py firefox
+```
+
#### Optional: Connecting to multiple teams
You can run the register command multiple times to connect to multiple teams.