This script is used to convert the export the json data converted by Discord Chat Exporter by Tyrrrz to HTML format.
- Download this repository.
- Put your JSON files and Media Folders in InputFiles folder.
- Open terminal in this folder.
- Run
pip install -r requirements.txt
- Run
python convert_single_file.py "Servername - CategoryName - ChannelName [ChannelID].json"
- Your converted HTML file will be in InputFiles Directory.
To convert all json files present in InputFiles Directory to html
- Click on converall.bat file and your files will be converted to HTML
Note: For better results, when you export the json files using Discord Chat Exporter, Use --markdown false
flag.
- Export Command i use [DCE CLI]:
dotnet DiscordChatExporter.Cli.dll export -c channel_id -f Json -t "BotToken" --media --reuse-media --markdown false
Credits: