Browse Source

updated elciudadano url

Pablo Yaksic 2 months ago
parent
commit
5152809031
1 changed files with 1 additions and 4 deletions
  1. 1 4
      src/portales/elciudadano/handler.ts

+ 1 - 4
src/portales/elciudadano/handler.ts

@@ -5,15 +5,12 @@ import Portal from "../portal";
 import ScraperMethods from "../../enums/scraper-methods";
 
 const name = "El Ciudadano";
-const currentDate = new Date();
-const options: Intl.DateTimeFormatOptions = { timeZone: "America/Santiago", year: "numeric" };
-const currentYear = new Intl.DateTimeFormat("es-CL", options).format(currentDate);
 
 export const handler: Handler = new Portal(
   name,
   config.MASTODON_KEY_ELCIUDADANO,
   {
-    url: config.ELCIUDADANO + currentYear,
+    url: config.ELCIUDADANO,
     articlesSelector: "article",
     titleSelector: "h3",
     linkSelector: "a",