Skip to content

Commit

Permalink
Fixes 403
Browse files Browse the repository at this point in the history
Code comes from this commit yt-dlp/yt-dlp@81ca451
  • Loading branch information
robrotheram authored and corny committed Aug 15, 2023
1 parent a22d61b commit c427449
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ func (c *Client) videoDataByInnertube(ctx context.Context, id string) ([]byte, e
Context: prepareInnertubeContext(*c.client),
ContentCheckOK: true,
RacyCheckOk: true,
Params: "8AEB",
Params: "CgIQBg==",
PlaybackContext: &playbackContext{
ContentPlaybackContext: contentPlaybackContext{
// SignatureTimestamp: sts,
Expand Down Expand Up @@ -247,7 +247,7 @@ func prepareInnertubePlaylistData(ID string, continuation bool, clientInfo clien
Continuation: ID,
ContentCheckOK: true,
RacyCheckOk: true,
Params: "8AEB",
Params: "CgIQBg==",
}
}

Expand All @@ -256,7 +256,7 @@ func prepareInnertubePlaylistData(ID string, continuation bool, clientInfo clien
BrowseID: "VL" + ID,
ContentCheckOK: true,
RacyCheckOk: true,
Params: "8AEB",
Params: "CgIQBg==",
}
}

Expand Down

0 comments on commit c427449

Please sign in to comment.