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.
- Host: GitHub
- URL: https://github.com/h1w/tg-parse-channels
- Owner: h1w
- License: mit
- Created: 2021-07-22T07:14:34.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-26T07:20:01.000Z (about 4 years ago)
- Last Synced: 2024-02-25T14:43:40.862Z (over 1 year ago)
- Topics: parser, python, python-parser, python3, telegram, telegram-channel-parser, telegram-channels, telegram-channels-parser, telegram-parser, telethon
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 9
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.pyType absolute path to photos directory:
files to remove:
type YES for delete:
```