use crate::parse::{EmbedRule, Platform}; use crate::Category; pub struct Max; impl Platform for Max { fn id(&self) -> &'static str { "max" } fn name(&self) -> &'static str { "Max" } fn category(&self) -> Category { Category::Video } fn domains(&self) -> &'static [&'static str] { &["max.com", "hbomax.com"] } fn embed_rule(&self) -> Option { None } } pub static PLATFORM: Max = Max;