Skip to content
Clone
b453d5d
28 lines 504 B Rust
use crate::parse::{EmbedRule, Platform};
use crate::Category;
pub struct P5sing;
impl Platform for P5sing {
fn id(&self) -> &'static str {
"5sing"
}
fn name(&self) -> &'static str {
"5sing"
}
fn category(&self) -> Category {
Category::Music
}
fn domains(&self) -> &'static [&'static str] {
&["5sing.kugou.com", "5sing.com"]
}
fn embed_rule(&self) -> Option<EmbedRule> {
None
}
}
pub static PLATFORM: P5sing = P5sing;