From e28b018281df0854c3cdc657a9351ec8492c079e Mon Sep 17 00:00:00 2001 From: Alex Touchet <26315797+atouchet@users.noreply.github.com> Date: Sat, 29 Nov 2025 11:44:15 -0800 Subject: [PATCH 1/2] Update repo URL --- scraper/Cargo.toml | 2 +- scraper/README.md | 13 +++++++------ scraper/src/test.rs | 4 ++-- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/scraper/Cargo.toml b/scraper/Cargo.toml index 7883c93d..71e510d0 100644 --- a/scraper/Cargo.toml +++ b/scraper/Cargo.toml @@ -9,7 +9,7 @@ keywords = ["html", "css", "selector", "scraping"] authors = ["June McEnroe "] license = "ISC" -repository = "https://github.com/causal-agent/scraper" +repository = "https://github.com/rust-scraper/scraper" readme = "README.md" [dependencies] diff --git a/scraper/README.md b/scraper/README.md index 39450ec2..beebfe15 100644 --- a/scraper/README.md +++ b/scraper/README.md @@ -2,17 +2,18 @@ [![crates.io](https://img.shields.io/crates/v/scraper?color=dark-green)][crate] [![downloads](https://img.shields.io/crates/d/scraper)][crate] -[![test](https://github.com/causal-agent/scraper/actions/workflows/test.yml/badge.svg)][tests] +[![test](https://github.com/rust-scraper/scraper/actions/workflows/test.yml/badge.svg)][tests] HTML parsing and querying with CSS selectors. -`scraper` is on [Crates.io][crate] and [GitHub][github]. +`scraper` is on [crates.io][crate] and [GitHub][github]. [crate]: https://crates.io/crates/scraper -[github]: https://github.com/causal-agent/scraper -[tests]: https://github.com/causal-agent/scraper/actions/workflows/test.yml +[github]: https://github.com/rust-scraper/scraper +[tests]: https://github.com/rust-scraper/scraper/actions/workflows/test.yml -Scraper provides an interface to Servo's `html5ever` and `selectors` crates, for browser-grade parsing and querying. +Scraper provides an interface to Servo's `html5ever` and `selectors` crates, for +browser-grade parsing and querying. ## Examples @@ -148,5 +149,5 @@ assert_eq!(document.html(), "hello"); ## Contributing Please feel free to open pull requests. If you're planning on implementing -something big (i.e. not fixing a typo, a small bug fix, minor refactor, etc) +something big (i.e. not fixing a typo, a small bug fix, minor refactor, etc.) then please open an issue first. diff --git a/scraper/src/test.rs b/scraper/src/test.rs index 86d498dc..4ecbb1de 100644 --- a/scraper/src/test.rs +++ b/scraper/src/test.rs @@ -7,7 +7,7 @@ fn tag_with_newline() { let document = Html::parse_fragment( r#" + href="https://github.com/rust-scraper/scraper"> "#, @@ -17,7 +17,7 @@ fn tag_with_newline() { let a = iter.next().unwrap(); assert_eq!( a.value().attr("href"), - Some("https://github.com/causal-agent/scraper") + Some("https://github.com/rust-scraper/scraper") ); } From 6ec9bc70ba0e31cf72653321384a1c909c835c2f Mon Sep 17 00:00:00 2001 From: Alex Touchet <26315797+atouchet@users.noreply.github.com> Date: Mon, 1 Dec 2025 12:42:16 -0800 Subject: [PATCH 2/2] Revert URL change in test.rs --- scraper/src/test.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scraper/src/test.rs b/scraper/src/test.rs index 4ecbb1de..86d498dc 100644 --- a/scraper/src/test.rs +++ b/scraper/src/test.rs @@ -7,7 +7,7 @@ fn tag_with_newline() { let document = Html::parse_fragment( r#" + href="https://github.com/causal-agent/scraper"> "#, @@ -17,7 +17,7 @@ fn tag_with_newline() { let a = iter.next().unwrap(); assert_eq!( a.value().attr("href"), - Some("https://github.com/rust-scraper/scraper") + Some("https://github.com/causal-agent/scraper") ); }