From e15430dd5c207b368c46e12a64cb8638c04e46eb Mon Sep 17 00:00:00 2001 From: Stefan Cruz <17972991+stefancruz@users.noreply.github.com> Date: Sat, 29 Jun 2024 04:27:54 +0100 Subject: [PATCH] feat: implement getChannelTemplateByClaimMap --- src/DailymotionScript.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/DailymotionScript.ts b/src/DailymotionScript.ts index 479b42d..be67337 100644 --- a/src/DailymotionScript.ts +++ b/src/DailymotionScript.ts @@ -487,6 +487,16 @@ source.getUserPlaylists = (): string[] => { } +source.getChannelTemplateByClaimMap = () => { + return { + //Dailymotion claim type + 27: { + 0: BASE_URL + "/{{CLAIMVALUE}}", + } + }; +}; + + function getPlaylistsByUsername(userName, headers, usePlatformAuth = false): string[] { -- GitLab