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