소스 검색

contrapoderchile changed from axios to puppeteer

Pablo Barrera Yaksic 1 주 전
부모
커밋
b96d100257
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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();