This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# Download Slack channel histories. | |
# | |
# Prerequisites: | |
# 1. Create a Slack app. | |
# 2. Give the app the following OAuth & Permissions: | |
# channels:read, channels:history, users.profile:read | |
# 3. Install the app & get OAuth token: | |
# "xoxp-..." |