matt0550/eurostreaming_telegrambot

By matt0550

Updated 6 months ago

An unofficial Telegram BOT and Mini App for Eurostreaming website.

Image

44

ForksStargazersIssuesMIT LicenseDiscordDocker Pulls


Logo
Eurostreaming Unofficial Telegram BOT & Mini App

An unofficial Telegram BOT and Mini App for Eurostreaming website.

Report Bug · Request Feature

All the data is scraped from the Eurostreaming website using my own API and is not affiliated with Eurostreaming in any way. This project is for educational purposes only. I do not condone piracy in any way. Please use this project responsibly.

Copyright and all rights belong to the respective owners.

Bot Features (only with WebApp)

  • View the latest TV shows
  • Search for TV shows
  • Get the details of a TV show
  • Get the streaming links of a TV show episode

Mini App

https://github.com/user-attachments/assets/38c202f8-6bcc-4983-8847-cf5aaf0d9d2a

TO-DO

  • Notifications for new episodes
  • Categories
  • Docker support

Public instance of the Bot

At the moment, I can't provide a public instance of the bot because scraping is not a good practice and it's not allowed by the Eurostreaming website. I don't want to get in trouble with them, so I can't provide a public instance of the bot. Sorry for the inconvenience.

Environment Variables

VariableDescriptionDefault
tokenThe Telegram Bot tokenNone
owner_idThe Telegram ID of the ownerNone
enable_webapp_serverEnable the webapp serverFalse
webserver_debugEnable the debug mode for the webapp serverFalse
webapp_hostThe host of the mini app server0.0.0.0 or localhost (win)
webapp_portThe port of the mini app server5000
report_errors_ownerReport errors to the ownerFalse
secret_keyThe secret key for the webapp serverabc123
api_urlThe URL of the scraping APIhttp://localhost:8000
PUIDDocker PUID1000
PGIDDocker PGID1000

Installation - Using Docker Compose (recommended)

version: '3'

services:
  eurostreaming_telegrambot:
    image: matt0550/eurostreaming_telegrambot
    environment:
      - token=TG_TOKEN
      - owner_id=TG_OWNER_ID
      - enable_webapp_server=True # For the telegram webapp.
      - webserver_debug=False
      - report_errors_owner=True # Report errors to the owner.
      - secret_key=abc123    # Random string
      - PUID=1000     # UID of the user inside the container
      - PGID=1000     # GID of the user inside the container
    ports:
      - 7015:5000
    restart: unless-stopped

Run the container with docker-compose up -d

Installation - Using Docker Run

docker run -d \
  --name=eurostreaming_telegrambot \
  -e token=TG_TOKEN \
  -e owner_id=TG_OWNER_ID \
  -e enable_webapp_server=True \
  -e webserver_debug=False \
  -e report_errors_owner=True \
  -e secret_key=abc123
  -e PUID=1000 \
  -e PGID=1000 \
  -p 7015:5000 \
  --restart unless-stopped \
  matt0550/eurostreaming_telegrambot

Installation - Self-Host or docker build

Clone the project

  git clone https://github.com/Matt0550/Eurostreaming-telegramBot

Go to the project directory

  cd Eurostreaming-telegramBot-master

OPTIONAL: use docker to build the image

  docker build -t Eurostreaming-telegramBot .

If you don't want to use docker, skip this step. Else, change the image in docker-compose.yml with the image name you used. Run the container with docker-compose up -d

Install dependencies

  pip install -r requirements.txt

Start the REST API (after setting the environment variables)

  cd api
  python main.py

Help - feedback

You can contact me on:

Discord: https://go.matteosillitti.it/discord

Telegram: https://go.matteosillitti.it/telegram

Mail: me@matteosillitti.it

License

GNU GPLv3

Support me

ko-fi

buy-me-a-coffee

paypal

Docker Pull Command

docker pull matt0550/eurostreaming_telegrambot