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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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);