mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-01 14:57:14 +08:00
fix: bilibili route /bilibili/user/video/:uid bug (#12920)
This commit is contained in:
@@ -13,7 +13,11 @@ module.exports = {
|
||||
Referer: url,
|
||||
},
|
||||
});
|
||||
return response.headers['set-cookie'].map((cookie) => cookie.split(';')[0]).join('; ');
|
||||
const setCookies = response.headers['set-cookie'];
|
||||
if (typeof setCookies === 'undefined') {
|
||||
return '';
|
||||
}
|
||||
return setCookies.map((cookie) => cookie.split(';')[0]).join('; ');
|
||||
});
|
||||
},
|
||||
getVerifyString: (ctx) => {
|
||||
|
||||
Reference in New Issue
Block a user