Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

AlexeyRadchenko/LostFilmBot

Repository files navigation

Telegram bot for tv shows on LostFilm.tv

  • python - 3.6
  • sqlAlchemy - 1.2.7
  • requests-html - 0.9.0
  • python-telegram-bot - 10.1.0

Telegram: @LoFi_bot

Install:

  1. Install PostgreSQL
sudo apt-get update
sudo apt-get install postgresql postgresql-contrib
  1. Create data base
CREATE DATABASE <data_base_name>;
  1. Create user for data base
CREATE USER <user_name> WITH PASSWORD 'CREATESTRONGPASSS';
ALTER ROLE <user_name> SET client_encoding TO 'utf8';
ALTER ROLE <user_name> SET timezone TO 'GMT';
GRANT ALL PRIVILEGES ON DATABASE <data_base_name> TO <user_name>;
  1. Install python requirements
pip install -r requirements.txt
  1. Create tables in database
python create_db_schema.py
  1. Rename conf_example.py -> conf.py and configure bot.
TOKEN=<bot_token>
...and other setting in conf.py
  1. Run Bot
python bot.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages