diff --git a/scraper-rs/src/sites/vtex.rs b/scraper-rs/src/sites/vtex.rs index edb36cc..157415f 100644 --- a/scraper-rs/src/sites/vtex.rs +++ b/scraper-rs/src/sites/vtex.rs @@ -207,14 +207,14 @@ pub async fn get_best_selling_by_category( .append_pair("extensions", &{ let variables_obj = json!({"hideUnavailableItems":true,"skusFilter":"FIRST_AVAILABLE","simulationBehavior":"default","installmentCriteria":"MAX_WITHOUT_INTEREST","productOriginVtex":false,"map":"c","query":query,"orderBy":"OrderByTopSaleDESC","from":0,"to":99,"selectedFacets": query.split('/').map(|f| json!({"key":"c","value":f})).collect::>() - ,"facetsBehavior":"Static","categoryTreeBehavior":"default","withFacets":false}); + ,"facetsBehavior":"Static","categoryTreeBehavior":"default","withFacets":false,"showSponsored":false}); let b64=base64::prelude::BASE64_STANDARD.encode(variables_obj.to_string()); format!( r#"{{ "persistedQuery": {{ "version": 1, - "sha256Hash": "40b843ca1f7934d20d05d334916220a0c2cae3833d9f17bcb79cdd2185adceac", + "sha256Hash": "fd92698fe375e8e4fa55d26fa62951d979b790fcf1032a6f02926081d199f550", "sender": "vtex.store-resources@0.x", "provider": "vtex.search-graphql@0.x" }},