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

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

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 формат
- уменьшен вывод из-за новых лимитов на общение с ботами