mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-04 02:58:08 +08:00
fix(route): add debug json output and cookie support (#9539)
* fix(route): add debug json output and cookie support * Update lib/v2/qbittorrent/news.js
This commit is contained in:
@@ -118,5 +118,12 @@ module.exports = async (ctx) => {
|
||||
title: `${user}/${repo}: ${typeDict[type].title} #${number} - ${issue.title}`,
|
||||
link: issue.html_url,
|
||||
item: items,
|
||||
rateLimit: {
|
||||
limit: parseInt(response.headers['x-ratelimit-limit']),
|
||||
remaining: parseInt(response.headers['x-ratelimit-remaining']),
|
||||
reset: parseDate(parseInt(response.headers['x-ratelimit-reset']) * 1000),
|
||||
resoure: response.headers['x-ratelimit-resource'],
|
||||
used: parseInt(response.headers['x-ratelimit-used']),
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user