fix: fetch unlocalized player data to interpret errors correctly; regression introduced with v0.6.0
This commit is contained in:
parent
044094a4b7
commit
0919cbd0df
5 changed files with 22 additions and 12 deletions
|
|
@ -24,7 +24,7 @@ use super::{
|
|||
self,
|
||||
player::{self, Format},
|
||||
},
|
||||
ClientType, MapRespCtx, MapRespCtxSource, MapResponse, MapResult, RustyPipeQuery,
|
||||
ClientType, MapRespCtx, MapRespOptions, MapResponse, MapResult, RustyPipeQuery,
|
||||
DEFAULT_PLAYER_CLIENT_ORDER,
|
||||
};
|
||||
|
||||
|
|
@ -159,8 +159,9 @@ impl RustyPipeQuery {
|
|||
video_id,
|
||||
"player",
|
||||
&request_body,
|
||||
MapRespCtxSource {
|
||||
MapRespOptions {
|
||||
deobf: Some(&deobf),
|
||||
unlocalized: true,
|
||||
..Default::default()
|
||||
},
|
||||
)
|
||||
|
|
|
|||
Reference in a new issue