Переглянути джерело

added extended cache expiration fastcheck

Pablo Barrera Yaksic 2 місяців тому
батько
коміт
9c57200960
1 змінених файлів з 2 додано та 1 видалено
  1. 2 1
      src/portales/fastcheck/handler.ts

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

@@ -16,6 +16,7 @@ export const handler: Handler = new Portal(
     titleSelector: "header h1",
     linkSelector: "header h1 a",
     scraperMethod: ScraperMethods.AXIOS,
-    hashtags: ["FastCheck", "Falso", "Incompleto", "Engañoso", "Real", "Noticias"]
+    hashtags: ["FastCheck", "Falso", "Incompleto", "Engañoso", "Real", "Noticias"],
+    cacheExpiration: 60 * 60 * 24 * 30, // 7 días
   }
 ).getHandler();