pgbot/README.md

20 lines
588 B
Markdown
Raw Normal View History

2023-10-31 01:38:30 +02:00
# pgbot
2023-10-31 01:45:36 +02:00
Use `config.yml` to set it up. It needs a list of regex with tokens and a database to match them. This doc is probably going to be abandoned right away, but at least I have added this line I dunno.
2023-10-31 02:28:16 +02:00
Dependencies:
2023-11-05 03:07:09 +02:00
* aiocron - for the scheduler
2023-10-31 02:28:16 +02:00
* bs4 - for parsing html
* fake_headers - for tricking search engines
* psycopg - for pgsql
* pyyaml - for config parsing
* requests - for http requests
* telethon - for interacting with bot api
Initial setup:
```
python -m venv .venv
source .venv/bin/activate
2023-11-05 03:07:09 +02:00
pip install aiocron bs4 fake_headers psycopg pyyaml requests telethon
2023-10-31 02:28:16 +02:00
```