football and update bot script

This commit is contained in:
karl.hudgell 2020-06-28 13:03:59 +01:00
parent a3023e1c0b
commit 67ca518138
2 changed files with 5 additions and 1 deletions

4
UpdateBot.sh Normal file
View File

@ -0,0 +1,4 @@
docker stop bobbyTvIptv_suzie &\
docker rm --force bobbyTvIptv_suzie &\
docker build -t bobbyTvIptv_suzie . &\
docker run -d --name bobbyTvIptv_suzie bobbyTvIptv_suzie:latest

View File

@ -7,7 +7,7 @@ module.exports = {
var options = {
method: 'GET',
url: 'https://football-pro.p.rapidapi.com/api/v2.0/livescores',
qs: { tz: 'Europe/London', leagues: '8', include: 'localTeam,visitorTeam' },
qs: { tz: 'Europe/London', leagues: '8,9,2,5,23,24', include: 'localTeam,visitorTeam' },
headers: {
'x-rapidapi-host': 'football-pro.p.rapidapi.com',
'x-rapidapi-key': process.env.RAPIDAPI_API_KEY,