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