From 44e7b3ec66dcd87c9e714fc35e4b8a98f9562fa3 Mon Sep 17 00:00:00 2001 From: hoilc Date: Fri, 7 Feb 2020 03:29:18 +0800 Subject: [PATCH] fix: bbc feed is broken (#3900) --- lib/routes/bbc/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);