fix: bbc feed is broken (#3900)

This commit is contained in:
hoilc
2020-02-07 03:29:18 +08:00
committed by GitHub
parent cc82478962
commit 44e7b3ec66
+1 -1
View File
@@ -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);