feat(scraping): friend page is now scrapped
This commit is contained in:
parent
c4ef2a129a
commit
73fe9b85a3
3 changed files with 117 additions and 8 deletions
|
|
@ -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>,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue