Browse Source

added extended cache expiration fastcheck

Pablo Barrera Yaksic 2 months ago
parent
commit
9c57200960
1 changed files with 2 additions and 1 deletions
  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();