feat: youtube路由增加maxResults参数,支持动态传入最大返回结果数 (#4495)

This commit is contained in:
mifang 2020-04-21 19:44:52 +08:00 committed by GitHub
parent a09af933ae
commit 4f2ace0e8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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;
},