fix: error 400 when fetching player with login
This commit is contained in:
parent
30f60c30f9
commit
5ce84c44a6
3 changed files with 24 additions and 2 deletions
|
|
@ -1458,6 +1458,10 @@ impl RustyPipeQuery {
|
|||
}
|
||||
|
||||
/// Enable authentication for this request
|
||||
///
|
||||
/// RustyPipe uses YouTube TV's OAuth authentication. This means that authentication
|
||||
/// only works when using the TV client. Enabling authentication for other clients
|
||||
/// results in a 400 error.
|
||||
#[must_use]
|
||||
pub fn authenticated(mut self) -> Self {
|
||||
self.opts.auth = Some(true);
|
||||
|
|
|
|||
Reference in a new issue