瀏覽代碼

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();