https://github.com/cucumberian/stihi_scrap_bot
telegram bot for scraping poems from stihi.ru and creating pdf via latex
https://github.com/cucumberian/stihi_scrap_bot
beautifulsoup4 latex pdf-generation scraper scraping-websites telegram telegram-bot webparser
Last synced: about 1 month ago
JSON representation
telegram bot for scraping poems from stihi.ru and creating pdf via latex
- Host: GitHub
- URL: https://github.com/cucumberian/stihi_scrap_bot
- Owner: cucumberian
- License: mit
- Created: 2022-09-01T10:11:23.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-03T01:34:23.000Z (10 months ago)
- Last Synced: 2025-02-16T15:18:22.653Z (4 months ago)
- Topics: beautifulsoup4, latex, pdf-generation, scraper, scraping-websites, telegram, telegram-bot, webparser
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stihi scrap bot
## Описание
Загрузчик для стихов автора с сайта [stihi.ru](https://stihi.ru) в виде телеграм бота.
После окончании загрузки стихов формирует csv, txt, pdf, markdown с произведениями.## Запуск
### Docker-Compose
1. Создайте файл `.env` с токеном для телеграм бота от @BotFather в каталоге рядом с `docker-compose.yml`.
```shell
TEL_API_TOKEN="TELEGRAM BOT TOKEN FROM @BotFather"
```
2. Запустите docker-compose командой:
```shell
docker-compose up -d
```
## Загрузка
Отправьте боту ссылку на автора с сайта [stihi.ru](https://stihi.ru) и ждите окончания загрузки.## Changelog
__03.09.2024__
- добавлен вывод в markdown формат
- убран excel формат
- уменьшен вывод из-за новых лимитов на общение с ботами