From 0eefb6b385e78b142f691833c856c1cda01f20a0 Mon Sep 17 00:00:00 2001 From: gennyble Date: Wed, 27 Dec 2023 05:34:40 -0600 Subject: parses --- tests/homepage.rs | 7 ++++ tests/nyble.html | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 106 insertions(+) create mode 100644 tests/homepage.rs create mode 100644 tests/nyble.html (limited to 'tests') diff --git a/tests/homepage.rs b/tests/homepage.rs new file mode 100644 index 0000000..da36b1c --- /dev/null +++ b/tests/homepage.rs @@ -0,0 +1,7 @@ +use cutie::Html; + +#[test] +fn pares_homepage() { + let str = std::fs::read_to_string("tests/nyble.html").unwrap(); + let html = Html::parse(&str); +} diff --git a/tests/nyble.html b/tests/nyble.html new file mode 100644 index 0000000..41614ab --- /dev/null +++ b/tests/nyble.html @@ -0,0 +1,99 @@ + + + + + + + + nyble.dev + + + + + + + +
+ + + myself with my head tilted back, arm outstretched holding a hat. There's a large amount of colorful noise covering my body. + + +
+

Contact~,.

+ +
+ +
+

Hello,

+

+ welcome to this small place. in the great vastness of the internet you've found your way here, thanks. +

+

+ i'm some kind of software person trying to make things. written things, visual things, + interesting things. i enjoy image processing and small, intentional tools. +

+

+ while i work out structuring here better, these are some pages you might like to visit +

+
    +
  1. sillygifs.html – some strange GIF files
  2. +
  3. touching-grass.html – a short video and a long over-analysis +
  4. +
+ +

+ You can subscribe to the Atom feed if you'd like. It gets updated if I + write anything and also if I make something here that I want + to show :) +

+ +
+

Scrap; dropped things collected

+
    +
  • aug 7, 2023 wrench!
  • +
+
+ + + + + + + + +
+
+ + + + + \ No newline at end of file -- cgit 1.4.1-3-g733a5