Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rsharifnasab/telegram_export_analyzer
this script can analyze number of telegram messages by time
https://github.com/rsharifnasab/telegram_export_analyzer
beautifulsoup beautifulsoup4 html html-parser html-parsing python python3 telegram telegram-desktop
Last synced: 6 days ago
JSON representation
this script can analyze number of telegram messages by time
- Host: GitHub
- URL: https://github.com/rsharifnasab/telegram_export_analyzer
- Owner: rsharifnasab
- License: gpl-3.0
- Created: 2019-01-13T16:12:54.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-24T23:08:30.000Z (almost 5 years ago)
- Last Synced: 2024-11-14T16:47:39.362Z (2 months ago)
- Topics: beautifulsoup, beautifulsoup4, html, html-parser, html-parsing, python, python3, telegram, telegram-desktop
- Language: Python
- Size: 17.6 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tg_analyzer
### this script will do some processes on your telegram chat history!first you should export a chat from telegram using telegram-desktop
then, copy .py file near html files(it doesnt need other files)to run program you should install `beautifulsoup4` and `python3`
after installing, run by this : `python3 2person.py` or `python3 group.py`wait program to load and process, it may take a while if messages are lot
you can specify name of sender in `group.py` in lines of code (sorry for little mess!)
here is construction for specify name in group (for `froup.py`)
look at this:
```py
#if "f_name" in sender.lower() and "l_name" in sender.lower() :
db[int(time[1:3])]+=1;
```
first line is commented!
change it like this :
```py
if "ali" in sender.lower() and "alavi" in sender.lower() :
db[int(time[1:3])]+=1;
```this will find all ali alavi's messages in that group!