Quellcode durchsuchen

contrapoderchile changed from axios to puppeteer

Pablo Barrera Yaksic vor 1 Woche
Ursprung
Commit
b96d100257
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      src/portales/contrapoder/handler.ts

+ 2 - 2
src/portales/contrapoder/handler.ts

@@ -13,8 +13,8 @@ export const handler: Handler = new Portal(
     url: config.CONTRAPODER,
     articlesSelector: "article",
     titleSelector: "h2.fn__title",
-    linkSelector: "h2.fn_title a",
-    scraperMethod: ScraperMethods.AXIOS,
+    linkSelector: "h2.fn__title a",
+    scraperMethod: ScraperMethods.PUPPETEER,
     hashtags: ["Noticias", "ContraPoderChile"],
   }
 ).getHandler();