Browse Source

fixing gramar theclinic scraper

Pablo Yaksic 7 months ago
parent
commit
c1727b6432
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/portales/theclinic/handler.ts

+ 1 - 1
src/portales/theclinic/handler.ts

@@ -57,7 +57,7 @@ export const handler: Handler = async (event, context) => {
       await redisClient.store(article.link, date, { EX: 60 * 60 * 24 }); // EX: 24 hrs expiration
       await redisClient.store(article.link, date, { EX: 60 * 60 * 24 }); // EX: 24 hrs expiration
       totalPublished++
       totalPublished++
     }
     }
-    console.log(`Publicated ${totalPublished} new articles`);
+    console.log(`Published ${totalPublished} new articles`);
   } catch (err: any) {
   } catch (err: any) {
     console.log('An error has occurred\n')
     console.log('An error has occurred\n')
     console.error(err.message);
     console.error(err.message);