From e9070511cfa8573ca7a09faa697b559291586cd3 Mon Sep 17 00:00:00 2001 From: snobu Date: Sat, 14 Nov 2020 20:08:45 +0200 Subject: [PATCH] Srsly really fixed group download this time --- src/Utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Utils.ts b/src/Utils.ts index c6fbaf5..b4f2397 100644 --- a/src/Utils.ts +++ b/src/Utils.ts @@ -20,8 +20,8 @@ async function extractGuids(url: string, client: ApiClient): Promise | undefined) => response?.data.metrics.videos); + // const videoNumber: number = await client.callApi(`groups/${groupMatch[1]}`, 'get') + // .then((response: AxiosResponse | undefined) => response?.data.metrics.videos); // Anything over $top=100 will return a 400 Bad Request let result: Array = await client.callApi(`groups/${groupMatch[1]}/videos?$top=100&$orderby=publishedDate asc`, 'get')