diff --git a/lib/routes/ps/monthly-games.ts b/lib/routes/ps/monthly-games.ts index b66a406a4..277139be1 100644 --- a/lib/routes/ps/monthly-games.ts +++ b/lib/routes/ps/monthly-games.ts @@ -38,17 +38,17 @@ async function handler() { const { data: response } = await got(baseUrl); const $ = load(response); - const list = $('.cmp-experiencefragment--your-latest-monthly-games .box') + const list = $('#monthly-games .box--light ') .toArray() - .map((item) => { - item = $(item); + .map((e) => { + const item = $(e); return { title: item.find('h3').text(), description: art(path.join(__dirname, 'templates/monthly-games.art'), { img: item.find('.media-block__img source').attr('srcset'), text: item.find('h3 + p').text(), }), - link: item.find('.button a').attr('href'), + link: item.find('.btn--cta').attr('href'), }; });