Telebilbao-Epg/README.md
David Claeys 87e8700236
Some checks failed
Build docker container / build (push) Failing after 7m21s
add movie scraping and documentation
2024-05-17 10:17:15 +02:00

42 lines
1.7 KiB
Markdown

# 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](https://github.com/iptv-org/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](https://developer.themoviedb.org/reference/intro/getting-started) is used.
In order to get your API key follow the steps on [this](https://developer.themoviedb.org/docs/getting-started) 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 |