From 4151f0167fb0df43f9911765bb638fdab9a32b76 Mon Sep 17 00:00:00 2001 From: Stefan Cruz <17972991+stefancruz@users.noreply.github.com> Date: Fri, 7 Jun 2024 00:47:19 +0100 Subject: [PATCH] wip: set platform claim type --- DailymotionConfig.json | 1 + src/constants.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/DailymotionConfig.json b/DailymotionConfig.json index 6df180a..104ac31 100644 --- a/DailymotionConfig.json +++ b/DailymotionConfig.json @@ -37,6 +37,7 @@ ], "userAgent": "Mozilla/5.0 (Linux; Android 12) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.6099.230 Mobile Safari/537.36" }, + "supportedClaimTypes": [27], "settings": [ { "variable": "thumbnailResolution", diff --git a/src/constants.ts b/src/constants.ts index 0f9feb6..c26cd75 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -19,7 +19,7 @@ export const X_DM_Neon_SSR = "0" export const X_DM_Preferred_Country = "";//TODO check how to get this from Grayjay export const PLATFORM = "Dailymotion"; -export const PLATFORM_CLAIMTYPE = 3; +export const PLATFORM_CLAIMTYPE = 27; export const ITEMS_PER_PAGE = 5; -- GitLab