Explorar o código

added extended cache expiration fastcheck

Pablo Barrera Yaksic hai 2 meses
pai
achega
9c57200960
Modificáronse 1 ficheiros con 2 adicións e 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();