Skip to content

arshiamoghimi/slack-export

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slack Exporter

A python slack exporter

  1. Go to https://api.slack.com/apps
  2. Create an app
  3. Under 'Features' go to 'OAuth & Permissions'
  4. Add 'channels:history', 'channels:read', 'groups:history', 'groups:read', 'im:history', 'im:read', 'mpim:history', 'mpim:read', 'files:read', and 'users:read' to 'User Token Scopes'
  5. Install the app to workspace
  6. Copy the 'User OAuth Token'
# Export Private Channels and Group DMs and 1:1 DMs
python slack_export.py --token xoxs-123... --groups --directMessages

# Export "my_private_channel1" and "my_private_channel2" Private Channel
python slack_export.py --token xoxs-123... --groups my_private_channel1 my_private_channel2

# Export the Private Channels and Group DMs you select when prompted
python slack_export.py --token xoxs-123... --groups --prompt

About

A python slack exporter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 87.7%
  • HTML 12.3%