feat: get YouTube visitor data
This commit is contained in:
parent
4ebee5856e
commit
1c0c64a8bf
40 changed files with 62 additions and 5 deletions
|
|
@ -252,7 +252,7 @@ impl MapResponse<VideoDetails> for response::VideoDetails {
|
|||
let mut res = map_recommendations(
|
||||
r,
|
||||
sr.secondary_results.continuations,
|
||||
self.response_context.visitor_data,
|
||||
self.response_context.visitor_data.clone(),
|
||||
lang,
|
||||
);
|
||||
warnings.append(&mut res.warnings);
|
||||
|
|
@ -343,6 +343,7 @@ impl MapResponse<VideoDetails> for response::VideoDetails {
|
|||
None,
|
||||
crate::param::ContinuationEndpoint::Next,
|
||||
),
|
||||
visitor_data: self.response_context.visitor_data,
|
||||
},
|
||||
warnings,
|
||||
})
|
||||
|
|
|
|||
Reference in a new issue