diff --git a/Cargo.lock b/Cargo.lock index 39f92e035..2d3bab4a8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3527,7 +3527,7 @@ dependencies = [ [[package]] name = "spider" -version = "2.1.8" +version = "2.1.9" dependencies = [ "adblock", "ahash", @@ -3582,7 +3582,7 @@ dependencies = [ [[package]] name = "spider_cli" -version = "2.1.8" +version = "2.1.9" dependencies = [ "clap", "env_logger", @@ -3594,7 +3594,7 @@ dependencies = [ [[package]] name = "spider_examples" -version = "2.1.8" +version = "2.1.9" dependencies = [ "convert_case 0.6.0", "env_logger", @@ -3605,7 +3605,7 @@ dependencies = [ [[package]] name = "spider_utils" -version = "2.1.8" +version = "2.1.9" dependencies = [ "indexmap 1.9.3", "spider", @@ -3613,7 +3613,7 @@ dependencies = [ [[package]] name = "spider_worker" -version = "2.1.8" +version = "2.1.9" dependencies = [ "env_logger", "lazy_static", diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 0d50490f9..becce6dfd 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spider_examples" -version = "2.1.8" +version = "2.1.9" authors = [ "j-mendez ", ] diff --git a/spider/Cargo.toml b/spider/Cargo.toml index 45b993365..d7e6d510b 100644 --- a/spider/Cargo.toml +++ b/spider/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spider" -version = "2.1.8" +version = "2.1.9" authors = [ "j-mendez " ] diff --git a/spider/src/website.rs b/spider/src/website.rs index fea7e8484..c41d0f868 100644 --- a/spider/src/website.rs +++ b/spider/src/website.rs @@ -3991,7 +3991,7 @@ impl Website { /// Set the crawl budget directly. This does nothing without the `budget` flag enabled. pub fn set_crawl_budget(&mut self, budget: Option>) { - self.configuration.inner_budget = budget; + self.configuration.budget = budget; } /// Set a crawl depth limit. If the value is 0 there is no limit. This does nothing without the feat flag `budget` enabled. diff --git a/spider_cli/Cargo.toml b/spider_cli/Cargo.toml index 623ecbd0e..a8f8fa941 100644 --- a/spider_cli/Cargo.toml +++ b/spider_cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spider_cli" -version = "2.1.8" +version = "2.1.9" authors = [ "j-mendez " ] diff --git a/spider_utils/Cargo.toml b/spider_utils/Cargo.toml index e95377372..3d01031d6 100644 --- a/spider_utils/Cargo.toml +++ b/spider_utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spider_utils" -version = "2.1.8" +version = "2.1.9" authors = [ "j-mendez " ] diff --git a/spider_worker/Cargo.toml b/spider_worker/Cargo.toml index de23a2ec7..766b85772 100644 --- a/spider_worker/Cargo.toml +++ b/spider_worker/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spider_worker" -version = "2.1.8" +version = "2.1.9" authors = [ "j-mendez " ]