Parcourir la source

eldesconcierto updated

Mastodon CL il y a 2 semaines
Parent
commit
bb5a30d49f
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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,