2f5d35e
use crate::parse::{EmbedRule, Platform};
use crate::Category;
pub struct B23;
impl Platform for B23 {
fn id(&self) -> &'static str {
"b23"
}
fn name(&self) -> &'static str {
"B站短链"
}
fn category(&self) -> Category {
Category::Video
}
fn domains(&self) -> &'static [&'static str] {
&["b23.tv", "bili2233.cn"]
}
fn embed_rule(&self) -> Option<EmbedRule> {
None
}
}
pub static PLATFORM: B23 = B23;