1 unstable release
Uses new Rust 2024
| 0.1.0 | Nov 14, 2025 |
|---|
#660 in HTTP client
18KB
86 lines
wyzie-subs
A client for downloading subtitles from sub.wyzie.ru.
Features
utoipa-impl- Implements ToSchema on data structuresschemars-impl- Implements JsonSchema on data structures
Usage
Add this to your Cargo.toml:
// Build a default client
let wyzie = WyzieClient::default();
// Or configure it
let wyzie = WyzieClient::builder()
.base_url(Url::parse("https://sub.wyzie.ru")?)
.reqwest_client(Client::new())
.build();
// Search for subtitles
let params = SearchParams::builder()
.id("93740".to_string())
.season(1)
.episode(1)
.build();
let subtitles = wyzie.search(¶ms).await?;
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
Dependencies
~4–21MB
~257K SLoC