handler.ts 365 B

1234567891011121314
  1. import { type Handler } from "aws-lambda";
  2. import config from "../../config";
  3. import Portal from "../portal";
  4. const name = "El Mostrado";
  5. export const handler: Handler = new Portal(name, {
  6. url: config.ELMOSTRADOR,
  7. articlesSelector: "div.d-section__body div.d-tag-card",
  8. titleSelector: "h4",
  9. contentSelector: "h4",
  10. linkSelector: "h4 a"
  11. }).getHandler();