ソースを参照

updated theclinic

Pablo Barrera Yaksic 2 週間 前
コミット
01ed2a92f4
1 ファイル変更3 行追加3 行削除
  1. 3 3
      src/portales/theclinic/handler.ts

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

@@ -1,4 +1,4 @@
-import { type Handler } from "aws-lambda";
+import { type Context, type Handler } from "aws-lambda";
 
 import config from "../../config";
 import Portal from "../portal";
@@ -7,11 +7,11 @@ import ScraperMethods from "../../enums/scraper-methods";
 const name = "The Clinic";
 
 export const handler: Handler = new Portal(
-  name, 
+  name,
   config.MASTODON_KEY_THECLINIC,
   {
     url: config.THECLINIC,
-    articlesSelector: "div.listado-3 article",
+    articlesSelector: "div.listado-1 article",
     titleSelector: "div.titulares h2 a",
     linkSelector: "div.titulares h2 a",
     imageSelector: "div.imagen-post img",