Bladeren bron

updated fastcheck

Pablo Barrera Yaksic 1 maand geleden
bovenliggende
commit
831ea3890c
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 3 3
      src/portales/fastcheck/handler.ts

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

@@ -12,9 +12,9 @@ export const handler: Handler = new Portal(
   config.MASTODON_KEY_FASTCHECK,
   {
     url: config.FASTCHECK,
-    articlesSelector: "div.article-right-rail__body div.result-list div.story-card-ctn",
-    titleSelector: "h2.story-card__headline",
-    linkSelector: "h2.story-card__headline a",
+    articlesSelector: "article.elementor-post",
+    titleSelector: "h3.elementor-post__title",
+    linkSelector: "h3.elementor-post__title a",
     scraperMethod: ScraperMethods.AXIOS,
     hashtags: ["FastCheck", "Artículo", "Noticias"],
     cacheExpiration: 60 * 60 * 24 * 30, // 30 días