feat: add visitor data parameter

This commit is contained in:
ThetaDev 2022-10-24 07:45:57 +02:00
parent 39b32da5a4
commit 9d0ae0e9c2
13 changed files with 113 additions and 71 deletions

View file

@ -165,7 +165,7 @@ impl RustyPipeQuery {
}
async fn _navigation_resolve_url(&self, url_path: &str) -> Result<UrlTarget, Error> {
let context = self.get_context(ClientType::Desktop, true).await;
let context = self.get_context(ClientType::Desktop, true, None).await;
let request_body = QResolveUrl {
context,
url: format!("https://www.youtube.com{}", url_path),