diff --git a/Cargo.lock b/Cargo.lock index 5b591289c..b51c49081 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5029,7 +5029,7 @@ dependencies = [ [[package]] name = "spider" -version = "2.21.23" +version = "2.21.24" dependencies = [ "ahash", "aho-corasick", @@ -5092,7 +5092,7 @@ dependencies = [ [[package]] name = "spider_chrome" -version = "2.21.23" +version = "2.21.24" dependencies = [ "adblock", "aho-corasick", @@ -5182,7 +5182,7 @@ dependencies = [ [[package]] name = "spider_cli" -version = "2.21.23" +version = "2.21.24" dependencies = [ "clap", "env_logger", @@ -5207,7 +5207,7 @@ dependencies = [ [[package]] name = "spider_transformations" -version = "2.21.23" +version = "2.21.24" dependencies = [ "aho-corasick", "fast_html2md", @@ -5229,7 +5229,7 @@ dependencies = [ [[package]] name = "spider_utils" -version = "2.21.23" +version = "2.21.24" dependencies = [ "indexmap 1.9.3", "serde", @@ -5241,7 +5241,7 @@ dependencies = [ [[package]] name = "spider_worker" -version = "2.21.23" +version = "2.21.24" dependencies = [ "env_logger", "lazy_static", diff --git a/spider/Cargo.toml b/spider/Cargo.toml index 7b8d2929e..367cec31f 100644 --- a/spider/Cargo.toml +++ b/spider/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spider" -version = "2.21.23" +version = "2.21.24" authors = [ "j-mendez " ] diff --git a/spider_chrome/Cargo.toml b/spider_chrome/Cargo.toml index 8d0bee436..711259381 100644 --- a/spider_chrome/Cargo.toml +++ b/spider_chrome/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spider_chrome" -version = "2.21.23" +version = "2.21.24" rust-version = "1.70" authors = [ "j-mendez " diff --git a/spider_chrome/src/handler/network.rs b/spider_chrome/src/handler/network.rs index f91165bcb..6267fad61 100644 --- a/spider_chrome/src/handler/network.rs +++ b/spider_chrome/src/handler/network.rs @@ -48,7 +48,7 @@ lazy_static! { "index", "bundle", "vendor", - "/wp-content/js/", // Covers word press content + "/wp-content/js/", // Covers Wordpress content // Verified 3rd parties for request "https://m.stripe.network/", "https://challenges.cloudflare.com/", @@ -512,7 +512,7 @@ impl NetworkManager { && ResourceType::Stylesheet == event.resource_type || self.block_javascript && javascript_resource - && !ALLOWED_MATCHER.contains(current_url) + && !ALLOWED_MATCHER.is_match(current_url) } else { skip_networking }; diff --git a/spider_cli/Cargo.toml b/spider_cli/Cargo.toml index 91d71a1c7..e244ab9ae 100644 --- a/spider_cli/Cargo.toml +++ b/spider_cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spider_cli" -version = "2.21.23" +version = "2.21.24" authors = [ "j-mendez " ] diff --git a/spider_transformations/Cargo.toml b/spider_transformations/Cargo.toml index b3235994a..33e4c5c51 100644 --- a/spider_transformations/Cargo.toml +++ b/spider_transformations/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spider_transformations" -version = "2.21.23" +version = "2.21.24" authors = [ "j-mendez " ] diff --git a/spider_utils/Cargo.toml b/spider_utils/Cargo.toml index 8499c00df..b1cae216c 100644 --- a/spider_utils/Cargo.toml +++ b/spider_utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spider_utils" -version = "2.21.23" +version = "2.21.24" authors = [ "j-mendez " ] diff --git a/spider_worker/Cargo.toml b/spider_worker/Cargo.toml index 467fbeadb..6b3899a6a 100644 --- a/spider_worker/Cargo.toml +++ b/spider_worker/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spider_worker" -version = "2.21.23" +version = "2.21.24" authors = [ "j-mendez " ]