try another url

This commit is contained in:
andres
2023-03-14 01:46:16 +01:00
parent 72bf87d1b8
commit d9fdbe3c59

View File

@@ -7,7 +7,8 @@ import { message } from 'telegraf/filters'
import cron from 'node-cron'
dotenv.config()
const url = 'https://icp.administracionelectronica.gob.es/icpplustiem/citar?p=28&locale=es&appkey=null'
const url = 'https://google.com'
// const url = 'https://icp.administracionelectronica.gob.es/icpplustiem/citar?p=28&locale=es&appkey=null'
const { NIE, NAME, COUNTRY_CODE } = process.env
const NO_APPOINTMENT = 'no hay citas disponibles'
const delay = async (ms: number) => await new Promise(resolve => setTimeout(resolve, ms))