servo-fetch 0.2.2

A browser engine in a binary. Fetch, render, and extract web content powered by Servo.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<html>
<head><title>Test Article</title></head>
<body>
<nav><a href="/home">Home</a> <a href="/about">About</a></nav>
<aside style="width:200px"><ul><li>Sidebar item</li></ul></aside>
<article>
  <h1>Test Article Title</h1>
  <p>This is the main content of the article.</p>
  <p>Here is a <a href="https://example.com/link1">first link</a> in the text.</p>
  <p>And another <a href="/relative">relative link</a> here.</p>
  <p>A <a href="#section">fragment-only link</a> should be ignored.</p>
  <p>A <a href="javascript:void(0)">javascript link</a> should also be ignored.</p>
</article>
<footer>Copyright 2025</footer>
</body>
</html>