Skip to content

Commit

Permalink
chore(chrome): add to block list
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mendez committed Jan 15, 2025
1 parent ff770ce commit 9ad8e4d
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 13 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spider/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider"
version = "2.26.0"
version = "2.26.1"
authors = [
"j-mendez <[email protected]>"
]
Expand Down
1 change: 0 additions & 1 deletion spider/src/page.rs
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,6 @@ fn get_error_status(
get_error_status_base(should_retry, error_for_status).map(std::sync::Arc::new)
}


/// Instantiate a new page without scraping it and with the base URL parsed (used for testing purposes).
#[cfg(not(feature = "decentralized"))]
pub fn build_with_parse(url: &str, res: PageResponse) -> Page {
Expand Down
2 changes: 1 addition & 1 deletion spider_chrome/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_chrome"
version = "2.26.0"
version = "2.26.1"
rust-version = "1.70"
authors = [
"j-mendez <[email protected]>"
Expand Down
11 changes: 11 additions & 0 deletions spider_chrome/src/handler/blockers/scripts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@ lazy_static::lazy_static! {
"https://acdn.adnxs.com/ast/ast.js",
"https://schibsted-cdn.relevant-digital.com/static/tags/",
"https://bat.bing.net",
"https://tpc.googlesyndication.com/",
"https://cdn.petametrics.com/",
"https://cdn.doubleverify.com/",
"https://www.facebook.com/v17.0/plugins/like.php?",
"https://gum.criteo.com",
"https://js-sec.indexww.com",
"https://eus.rubiconproject.com/",
"https://eb2.3lift.com/",
"https://acdn.adnxs.com/",
"https://ssc-cms.33across.com/",
"https://static.addtoany.com/menu/",
"https://www.gstatic.com/cast/sdk/libs/sender/1.0/cast_framework.js",
"https://www.gstatic.com/eureka/clank/131/cast_sender.js",
Expand Down Expand Up @@ -110,6 +120,7 @@ lazy_static::lazy_static! {
"https://ads.pubmatic.com/AdServer/js/",
"https://widgets.outbrain.com/nanoWidget/externals/obPixelFrame/obPixelFrame.js",
"https://widgets.outbrain.com/external/externals/intentiq.js",
"https://cdn.fuseplatform.net/publift/tags/",
"//d2wy8f7a9ursnm.cloudfront.net/v8/bugsnag.min.js",
".sharethis.com",
".newrelic.com",
Expand Down
3 changes: 3 additions & 0 deletions spider_chrome/src/handler/blockers/xhr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,12 @@ lazy_static::lazy_static! {
"https://sdkconfig.pulse.",
"https://bat.bing.net",
"https://api.reviews.io/",
"https://thearenagroup.sp.spiny.ai/",
"https://ads.rubiconproject.com/",
"https://check.analytics.rlcdn.com",
"https://api.config-security.com/event",
"https://conf.config-security.com/model",
"https://pagead2.googlesyndication.com/",
"https://sumome.com/api/load/",
"https://public-api.wordpress.com/geo/",
"https://events.api.secureserver.net/",
Expand Down
2 changes: 1 addition & 1 deletion spider_cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_cli"
version = "2.26.0"
version = "2.26.1"
authors = [
"j-mendez <[email protected]>"
]
Expand Down
2 changes: 1 addition & 1 deletion spider_transformations/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_transformations"
version = "2.26.0"
version = "2.26.1"
authors = [
"j-mendez <[email protected]>"
]
Expand Down
2 changes: 1 addition & 1 deletion spider_utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_utils"
version = "2.26.0"
version = "2.26.1"
authors = [
"j-mendez <[email protected]>"
]
Expand Down
2 changes: 1 addition & 1 deletion spider_worker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_worker"
version = "2.26.0"
version = "2.26.1"
authors = [
"j-mendez <[email protected]>"
]
Expand Down

0 comments on commit 9ad8e4d

Please sign in to comment.