https://github.com/exposedcat/tg-channels-parser
Telegram messenger posts parser
https://github.com/exposedcat/tg-channels-parser
Last synced: 4 months ago
JSON representation
Telegram messenger posts parser
- Host: GitHub
- URL: https://github.com/exposedcat/tg-channels-parser
- Owner: ExposedCat
- Created: 2022-05-22T11:29:08.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-13T17:06:44.000Z (over 3 years ago)
- Last Synced: 2025-08-17T01:14:35.084Z (5 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Telegram Channels Parser
[](https://t.me/ExposedCat)
[](https://t.me/MeowgramV3)

➕ See also
Check out also TG Channels Publisher
⭐️ Features
- Universal parsing: all types of posts, with captions, including albums
- Hidden reposting: removes «Forwarded from» label
- Ads detection: does not repost forwards and posts with URLs
- Simple running: 100% configuration placed in one config
⚙️ Stack
- Language: Python 3.10
- Telegram Client API library: Telethon 1.24
Running
1. Clone this repo:
```bash
git clone https://github.com/ExposedCat/tg-channels-parser.git
```
2. Go to project root:
```bash
cd tg-channels-parser
```
3. Rename `example.env` to `.env` and replace example data with with yours. API credentials should be registered here: [Telegram Apps Management](https://my.telegram.org/auth?to=apps)
4. Run app:
```bash
python3 src/main.py
```
Or you can use PM2 to run in background:
```bash
pm2 start src/main.py --interpreter=python3 --name=tgparser
```
**Done**.
You can stop PM2 process via
```bash
pm2 stop tgparser
```