diff --git a/lib/routes/bbc/index.js b/lib/routes/bbc/index.js index bfec803c7..734a042c2 100644 --- a/lib/routes/bbc/index.js +++ b/lib/routes/bbc/index.js @@ -48,7 +48,7 @@ module.exports = async (ctx) => { let description; - if (response.request.gotOptions.path.startsWith('/news/av')) { + if (response.request.options.url.pathname.startsWith('/news/av')) { description = utils.ProcessAVFeed($, item.link); } else { description = utils.ProcessFeed($, item.link);