From 461df7b7265bca21a972aecc4becf938811808a4 Mon Sep 17 00:00:00 2001 From: Adrian Calinescu Date: Sat, 14 Nov 2020 20:09:45 +0200 Subject: [PATCH] Fix for group download IRL this time --- src/Utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Utils.ts b/src/Utils.ts index 1fc5a62..e925b89 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 above $top=100 results in 400 Bad Request const result: Array = await client.callApi(`groups/${groupMatch[1]}/videos?$top=100&$orderby=publishedDate asc`, 'get')