Skip to content

Instantly share code, notes, and snippets.

View truatpasteurdotfr's full-sized avatar

Tru Huynh truatpasteurdotfr

View GitHub Profile
@truatpasteurdotfr
truatpasteurdotfr / slack_history.py
Created March 21, 2018 08:34 — forked from Chandler/slack_history.py
Download Slack Channel/PrivateChannel/DirectMessage History
# MIT License
# Copyright (c) 2016 Chandler Abraham
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
@truatpasteurdotfr
truatpasteurdotfr / slack_history.py
Created March 21, 2018 08:33 — forked from minniel/slack_history.py
Download Slack Channel/PrivateChannel/DirectMessage History
from slacker import Slacker
import json
import argparse
import os
import shutil
import copy
from datetime import datetime
# This script finds all channels, private channels and direct messages
# that your user participates in, downloads the complete history for