Skip to content

Create csv file from html file of exported Telegram data.

License

Notifications You must be signed in to change notification settings

ali4heydari/TelegramChatParser

Repository files navigation

Telegram chat parser

create csv file from html file of exported telegram data.

Dependencies

Quick start

public class Program
  {
    public static void Main(string[] args)
    {
      string inputHtml = @"C:\Users\Ali\Desktop\messages.html";
      string outputCsv = @"C:\Users\Ali\Desktop\chats.csv";

      TgParser tgParser = new TgParser(inputHtml, outputCsv);

      tgParser.CreateCsv();
    }
  }

How to use

Download binary file TelegramChatParser.exe from releases.

prompt>TelegramChatParser.exe --help
TelegramChatParser 1.0.0.0
Copyright ©  2019

  -v, --verbose      (Default: false) Set output to verbose messages.

  -i, --html-path    Required. Set html file path to parse.

  -o, --csv-path     Required. Set csv file path with it's name to save. ex: C:\Users\Ali\Desktop\chats.csv

  -a, --append       Append to existing csv file.

  --help             Display this help screen.

  --version          Display version information.

About

Create csv file from html file of exported Telegram data.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages