Skip to content

Commit

Permalink
use android to get song streams
Browse files Browse the repository at this point in the history
  • Loading branch information
vixalien committed Aug 8, 2023
1 parent 175f116 commit 7c0c0f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mixins/browsing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ export interface Song {
playbackTracking: any;
videostatsPlaybackUrl: string;
captions: Caption[];
hlsManifestUrl: string;
hlsManifestUrl: string | null;
aspectRatio: number;
serverAbrStreamingUrl: string;
}
Expand Down Expand Up @@ -367,7 +367,7 @@ export async function get_song(
): Promise<Song> {
const response = await request_json("player", {
data: {
...CONSTANTS2.IOS.DATA,
...CONSTANTS2.ANDROID.DATA,
contentCheckOk: true,
racyCheckOk: true,
video_id,
Expand Down

0 comments on commit 7c0c0f7

Please sign in to comment.