use crate::parse::{EmbedRule, Platform}; use crate::Category; pub struct Ctrip; impl Platform for Ctrip { fn id(&self) -> &'static str { "ctrip" } fn name(&self) -> &'static str { "携程" } fn category(&self) -> Category { Category::Ecommerce } fn domains(&self) -> &'static [&'static str] { &["ctrip.com", "trip.com"] } fn embed_rule(&self) -> Option { None } } pub static PLATFORM: Ctrip = Ctrip;