From 7c0c0f7f4ecbaec519a212ab1f718ba76acb5988 Mon Sep 17 00:00:00 2001 From: Angelo Verlain Date: Wed, 9 Aug 2023 01:43:18 +0200 Subject: [PATCH] use android to get song streams --- mixins/browsing.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mixins/browsing.ts b/mixins/browsing.ts index 64f2032..101c4c7 100644 --- a/mixins/browsing.ts +++ b/mixins/browsing.ts @@ -329,7 +329,7 @@ export interface Song { playbackTracking: any; videostatsPlaybackUrl: string; captions: Caption[]; - hlsManifestUrl: string; + hlsManifestUrl: string | null; aspectRatio: number; serverAbrStreamingUrl: string; } @@ -367,7 +367,7 @@ export async function get_song( ): Promise { const response = await request_json("player", { data: { - ...CONSTANTS2.IOS.DATA, + ...CONSTANTS2.ANDROID.DATA, contentCheckOk: true, racyCheckOk: true, video_id,