瀏覽代碼

eldesconcierto updated

Mastodon CL 2 周之前
父節點
當前提交
bb5a30d49f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/portales/eldesconcierto/handler.ts

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

@@ -10,9 +10,9 @@ export const handler: Handler = new Portal(
   name, 
   config.MASTODON_KEY_ELDESCONCIERTO,
   {
-    url: config.ELDESCONCIERTO + "/lo-mas-reciente",
+    url: config.ELDESCONCIERTO + "/actualidad",
     articlesSelector: "article",
-    titleSelector: "h2:first, h3:first",
+    titleSelector: "div.news-article__title-wrapper",
     linkSelector: "a",
     linkPrefix: config.ELDESCONCIERTO,
     scraperMethod: ScraperMethods.AXIOS,