mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-19 09:52:21 +08:00
feat: youtube路由增加maxResults参数,支持动态传入最大返回结果数 (#4495)
This commit is contained in:
@@ -29,6 +29,7 @@ const youtubeUtils = {
|
||||
const res = await getYoutube().playlistItems.list({
|
||||
part,
|
||||
playlistId: id,
|
||||
maxResults: 50, // youtube api param value default is 5
|
||||
});
|
||||
return res;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user