An open API service indexing awesome lists of open source software.

https://github.com/h1w/tg-parse-channels

Script to download media from telegram channels.
https://github.com/h1w/tg-parse-channels

parser python python-parser python3 telegram telegram-channel-parser telegram-channels telegram-channels-parser telegram-parser telethon

Last synced: 7 months ago
JSON representation

Script to download media from telegram channels.

Awesome Lists containing this project

README

          

# Parse Telegram Channels
_Script to download media from telegram channels._

### Run script
Before run, set Telegram credentials and Parser settings in file `settings.py`.

Create virtual environment
```
python3 -m venv venv
```

Enter to `venv`
```
. venv/bin/activate
```

Install python modules from requirements.txt
```
pip install -r requirements.txt
```

Start script
```
python3 main.py
```

### Check images for integrity and correctness
Example
```
python3 is_photo.py

Type absolute path to photos directory:

files to remove:

type YES for delete:
```