Crate spools

Source
Expand description

§spools

spools is a content scraping library for Instagram’s Threads. spools aims to provide a more comfortable interface than Threads’ cumbersome and obfuscated internal API, with the added bonus of not requiring an account.

§Making a client

In order to use any of the provided methods, creating a client is required. User and post fetching by ID are provided through Threads methods.

let client = spools::Threads::new()?;
let user = client.fetch_user("zuck").await?;
let post = client.fetch_post(&user.posts[0].code).await?;

Structs§

Author
User embedded within object
Media
Media location and metadata
Post
Post contents, metadata, media and interactions
Subpost
Post embedded within object
Threads
Threads pseudo-client
User
User information and statistics

Enums§

MediaKind
Whether media is image or video
SpoolsError
Error type for spools