feat(scraping): friend page is now scrapped

This commit is contained in:
Maieul BOYER 2026-02-08 16:21:04 +01:00
parent c4ef2a129a
commit 73fe9b85a3
Signed by: maix
SSH key fingerprint: SHA256:iqCzqFFF5KjRixmDExqbAltCIj9ndlBWIGJf3t9Ln9g
3 changed files with 117 additions and 8 deletions

View file

@ -1,3 +1,5 @@
use smol_str::SmolStr;
#[non_exhaustive]
#[derive(Debug, Clone, Default, Eq, PartialEq)]
pub enum ClusterLocationStatus {
@ -46,3 +48,16 @@ pub struct CluserInformation {
pub cluster_name: smol_str::SmolStr,
pub locations: Vec<ClusterLocation>,
}
#[derive(Debug, Clone)]
pub struct Friend {
pub login: SmolStr,
pub image: Option<String>,
pub position: Option<SmolStr>,
pub last_active: Option<SmolStr>,
}
#[derive(Debug, Clone)]
pub struct Friends {
pub friends: Vec<Friend>,
}