Skip to content

davidclaeysquinones/Telebilbao-Epg

Repository files navigation

Telebilbao-Epg

Scraper with api for telebilbao epg

Epg information for this local tv station is available at https://www.telebilbao.es/programacion/ This program tries to parse the information on that page and to expose it with an api.

The intention is to integrate this API with epg at some point.

Endpoints

/api/BroadCast/today

Description: Gets the schedule for today

/api/BroadCast

Description: Gets the schedule between the specified dates Parameters :

  • from : start date to get the schedule
  • to : end date to get the schedule

Movie API

For movies the page does not contain any metada or poster. In order to get this data TMDB is used. In order to get your API key follow the steps on this page.

Docker image

Environment Variables

Variable Description Default
JOB_SCHEDULE Cron expression indicating the scraping recurrence 0 0/30 * * * ?
MOVIE_API_URL The url to the movie API https://api.themoviedb.org/
MOVIE_IMAGE_URL The base url for images on the movie API https://image.tmdb.org
MOVIE_API_KEY The API key for the API N/A

Compose file

version: '3.3'
services:
  epg:
    image: git.claeyscloud.com/david/telebilbao-epg:latest
	ports:
      - 6060:443
    environment:
      # specify the time zone for the server
      - TZ=Etc/UTC
	  - MOVIE_API_KEY=YOUR_KEY
    restart: unless-stopped

About

Scraper with api for telebilbao epg

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages