Browse Source

updated fastcheck

Pablo Barrera Yaksic 2 months ago
parent
commit
699b845908
2 changed files with 3 additions and 3 deletions
  1. 1 1
      .env.example
  2. 2 2
      src/portales/fastcheck/handler.ts

+ 1 - 1
.env.example

@@ -15,7 +15,7 @@ ELCIUDADANO = "https://www.elciudadano.com/"
 ELDESCONCIERTO = "https://eldesconcierto.cl"
 ELMOSTRADOR = "https://www.elmostrador.cl/categoria/dia/"
 EMOL = "https://www.emol.com"
-FASTCHECK = "https://www.fastcheck.cl/category/chequeo/"
+FASTCHECK = "https://www.fastcheck.cl/"
 GLACIARESCHILENOS = "https://www.glaciareschilenos.org/articulos/"
 INTERFERENCIA = "https://interferencia.cl/"
 LADERASUR = "https://laderasur.com/articulos-2/"

+ 2 - 2
src/portales/fastcheck/handler.ts

@@ -12,8 +12,8 @@ export const handler: Handler = new Portal(
   config.MASTODON_KEY_FASTCHECK,
   {
     url: config.FASTCHECK,
-    articlesSelector: "div.entries article",
-    titleSelector: "header h1",
+    articlesSelector: "div.elementor-element-9da95a3 article",
+    titleSelector: "h1.elementor-post__title, h3.elementor-post__title",
     linkSelector: "header h1 a",
     scraperMethod: ScraperMethods.AXIOS,
     hashtags: ["FastCheck", "Artículo", "Noticias"],