Skip to content
Clone
2f5d35e
28 lines 486 B Rust
use crate::parse::{EmbedRule, Platform};
use crate::Category;
pub struct Panda;
impl Platform for Panda {
fn id(&self) -> &'static str {
"panda"
}
fn name(&self) -> &'static str {
"熊猫直播"
}
fn category(&self) -> Category {
Category::Live
}
fn domains(&self) -> &'static [&'static str] {
&["panda.tv"]
}
fn embed_rule(&self) -> Option<EmbedRule> {
None
}
}
pub static PLATFORM: Panda = Panda;