Skip to content

Instantly share code, notes, and snippets.

View Mar-Koeh's full-sized avatar

MarKoeh Mar-Koeh

View GitHub Profile
@Mar-Koeh
Mar-Koeh / mattermost-dl.py
Created June 10, 2022 10:25 — forked from RobertKrajewski/mattermost-dl.py
This script allows to export the content (text+files) of an interactively selected Mattermost channel (public, private, group, direct message) to files. Tested on Mattermost 5.27 using Python 3.7
import os
import sqlite3
from datetime import datetime, date
from typing import Tuple, Dict, List
import getpass
from mattermostdriver import Driver
import pathlib
import json