use crate::parse::{EmbedRule, Platform}; use crate::Category; pub struct Baike; impl Platform for Baike { fn id(&self) -> &'static str { "baike" } fn name(&self) -> &'static str { "百度百科" } fn category(&self) -> Category { Category::Knowledge } fn domains(&self) -> &'static [&'static str] { &["baike.baidu.com"] } fn embed_rule(&self) -> Option { None } } pub static PLATFORM: Baike = Baike;