From 79de47982f6fc1d13b61f655013317582eb385fd Mon Sep 17 00:00:00 2001 From: andres Date: Tue, 14 Mar 2023 02:01:45 +0100 Subject: [PATCH] try another url --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index e670f83..7095a9e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -8,7 +8,7 @@ import cron from 'node-cron' dotenv.config() // const url = 'https://google.com' -const url = 'https://icp.administracionelectronica.gob.es/icpplustiem/citar?p=28&locale=es&appkey=null' +const url = 'https://icp.administracionelectronica.gob.es/icpplustiem/icpplus' 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))