Registry / http-client / webpage

webpage

JSON →
library2.0.1rscratesunverified

Small library to fetch info about a web page: title, description, language, HTTP info, links, RSS feeds, Opengraph, Schema.org, and more.

# Cargo.toml [dependencies] webpage = "2.0.1"
INSTALL
IMPORT
SIG · WEBPAGE
W
webpage
http-clientrustv2.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Webpage
use webpage::Webpage;

Fetches and prints the title of a web page.

use webpage::Webpage; fn main() { let page = Webpage::from_url("https://example.com").unwrap(); println!("Title: {:?}", page.title); }
Debug
Known issues
gotchaRequires network access; may block on synchronous HTTP requests.
fix
Use async version or run in a separate thread.
affects: >=2.0.0
Upgrade
Version history
2.0.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
22
Resources
webpage — cargo add webpage · libregistry