diff --git a/lib/routes/natgeo/dailyphoto.js b/lib/routes/natgeo/dailyphoto.js index c02818e824..91b4b571f9 100644 --- a/lib/routes/natgeo/dailyphoto.js +++ b/lib/routes/natgeo/dailyphoto.js @@ -11,10 +11,10 @@ module.exports = async (ctx) => { const out = items.slice(0, 10).map((item) => { const info = { - title: item.altText, - author: item.credit, - link: item['full-path-url'], - description: `` + item.caption, + title: item.image.title, + author: item.image.credit.replace('Photograph by ', ''), + link: item.pageUrl, + description: `` + item.image.caption, }; return info; });