| 12345678910111213141516171819 |
- import { type Handler } from "aws-lambda";
- import config from "../../config";
- import Portal from "../portal";
- import ScraperMethods from "../../enums/scraper-methods";
- const name = "Diario Financiero";
- export const handler: Handler = new Portal(
- name,
- config.MASTODON_KEY_DF,
- {
- url: config.DF,
- articlesSelector: "article",
- titleSelector: "h3 a",
- linkSelector: "h3 a",
- scraperMethod: ScraperMethods.AXIOS
- }
- ).getHandler();
|