Explorar el Código

added extended cache expiration fastcheck

Pablo Barrera Yaksic hace 2 meses
padre
commit
9c57200960
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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();