__collect.py__
for collecting UNT (united national testing) Leaks from specified in config.ini
channel and then put in json file. Then __main__.py
opens json file, parses it, diving it into 2 different json with messages containing leaks about two subjects (math & comp science), and then showing it using GUI custom tkinter.
I agree that this maybe is not an efficient way to do this but it works for me, so why not.
- You need to create an application at My Telegram for an
Api Hash
andApi ID
- Create a copy of
config.example.ini
in the same directory and rename it toconfig.ini
- Put
Api Hash
andApi ID
inconfig.ini
- Put your phone number that is used for your account and username of your account into
phone
andusername
fields - Run start.bat
Project was tested using Python 3.11.0
customtkinter==5.1.2
Telethon==1.27.0
If you wanna do an optimization for my code, feel free to do it, there is no special code style that you need to follow. Just do what you want.
Feel free to give advice about my code. Im looking forward to it :D