Skip to content

Instantly share code, notes, and snippets.

@euske
euske / download_slack.py
Created March 8, 2020 07:19
Download Slack channel histories.
#!/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-..."