Sign inSign up

matt0550/eurostreaming_telegrambot

By matt0550

โ€ขUpdated about 2 years ago

An unofficial Telegram BOT and Mini App for Eurostreaming website.

Image
0

253

matt0550/eurostreaming_telegrambot repository overview

Forks Stargazers Issues MIT License Discord Docker 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
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: [email protected]โ 

โ License

GNU GPLv3โ 

โ Support me

ko-fi

buy-me-a-coffee

paypal

Tag summary

Content type

Image

Digest

sha256:f0993d5b3โ€ฆ

Size

74.2 MB

Last updated

about 2 years ago

docker pull matt0550/eurostreaming_telegrambot