Web scraping with Rust

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • rust

    Empowering everyone to build reliable and efficient software.

  • use std::io; use reqwest::Client; use select::document::Document; use select::predicate::{Attr, Name}; fn main() -> io::Result<()> { let mut resp = Client::new() .get("https://www.rust-lang.org") .send()?; let body = resp.text()?; let document = Document::from(body.as_str()); for node in document.find(Attr("id", "blog-entries")) { for entry in node.find(Name("a")) { let title = entry.text(); let url = entry.attr("href").unwrap(); println!("{} ({})", title, url); } } Ok(()) }

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts