use crate::parse::{EmbedRule, Platform}; use crate::Category; pub struct Bbc; impl Platform for Bbc { fn id(&self) -> &'static str { "bbc" } fn name(&self) -> &'static str { "BBC" } fn category(&self) -> Category { Category::News } fn domains(&self) -> &'static [&'static str] { &["bbc.com", "bbc.co.uk", "bbc.in"] } fn embed_rule(&self) -> Option { None } } pub static PLATFORM: Bbc = Bbc;