From 64272b7689515965492b6cd8299e470cef45b3b9 Mon Sep 17 00:00:00 2001 From: AnimeDL Date: Thu, 15 Aug 2024 10:12:21 -0700 Subject: [PATCH] [ADN] Fix DE only streams --- adn.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/adn.ts b/adn.ts index 8d6db22..d9202db 100644 --- a/adn.ts +++ b/adn.ts @@ -458,7 +458,8 @@ export default class AnimationDigitalNetwork implements ServiceClass { const configReq = await this.req.getData(`https://gw.api.animationdigitalnetwork.fr/player/video/${data.id}/configuration`, { headers: { - Authorization: `Bearer ${this.token.accessToken}` + Authorization: `Bearer ${this.token.accessToken}`, + 'X-Target-Distribution': this.locale } }); if(!configReq.ok || !configReq.res){