-
Check out also TG Channels Publisher
- 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
- Language: Python 3.10
- Telegram Client API library: Telethon 1.24
- Clone this repo:
git clone https://github.com/ExposedCat/tg-channels-parser.git
- Go to project root:
cd tg-channels-parser
- Rename
example.env
to.env
and replace example data with with yours. API credentials should be registered here: Telegram Apps Management - Run app:
python3 src/main.py
Or you can use PM2 to run in background:
pm2 start src/main.py --interpreter=python3 --name=tgparser
Done.
You can stop PM2 process via
pm2 stop tgparser