This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const axios = require('axios') | |
const chalk = require('chalk') | |
const Job = require('cron').CronJob; | |
const SESSION_ID = 'xxx' // replace me, get it from cookies | |
const getCentres = () => { | |
/** | |
* replace with your own payload that's sent to https://programare.vaccinare-covid.gov.ro/scheduling/api/centres when you press 'Filtreaza' | |
* |