Browse Source

updated ciper

Pablo Barrera Yaksic 2 months ago
parent
commit
4ece658433
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/portales/ciper/handler.ts

+ 3 - 3
src/portales/ciper/handler.ts

@@ -12,10 +12,10 @@ export const handler: Handler = new Portal(
   {
     url: config.CIPER,
     articlesSelector: "section.section-featured article",
-    titleSelector: ".article-big-text__title, article:nth-child(1) > h3:nth-child(4)",
-    linkSelector: "a.alticle-link:nth-child(2), article:nth-child(1) > h3:nth-child(4) > a:nth-child(1)",
+    titleSelector: ".article-big-text__title, .article-featured-text__title",
+    linkSelector: ".article-big-text__title a, .article-featured-text__title a",
     scraperMethod: ScraperMethods.AXIOS,
-    hashtags: ["CIPERChile", "Actualidad", "Artículo", "Investigación"],
+    hashtags: ["CIPERChile", "Actualidad", "Artículo", "Investigación", "Columnas"],
     cacheExpiration: 60 * 60 * 24 * 30, // 30 días
   }
 ).getHandler();