Skip to content

Commit

Permalink
chore(crate): update [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mendez committed Dec 26, 2023
1 parent f8ae206 commit b0355cb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ napi-derive = "2.14.2"
num_cpus = "1.16.0"
serde = "1.0.193"
serde_json = "1.0.108"
spider = { version = "1.80.14", features = ["napi", "budget", "cron", "regex", "cookies", "socks", "chrome", "control", "chrome_intercept" ] }
spider = { version = "1.80.16", features = ["napi", "budget", "cron", "regex", "cookies", "socks", "chrome", "control", "chrome_intercept" ] }

[target.x86_64-unknown-linux-gnu.dependencies]
openssl-sys = { version = "0.9.96", features = ["vendored"] }
Expand Down
7 changes: 7 additions & 0 deletions src/website.rs
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,13 @@ impl Website {
self
}

/// Set the sitemap url.
#[napi]
pub fn with_sitemap(&mut self, sitemap: bool) -> &Self {
self.inner.configuration.with_sitemap(sitemap);
self
}

/// Use proxies for request.
#[napi]
pub fn with_proxies(&mut self, proxies: Option<Vec<String>>) -> &Self {
Expand Down

0 comments on commit b0355cb

Please sign in to comment.