use crate::parse::{EmbedRule, Platform}; use crate::Category; pub struct Aliexpress; impl Platform for Aliexpress { fn id(&self) -> &'static str { "aliexpress" } fn name(&self) -> &'static str { "速卖通" } fn category(&self) -> Category { Category::Ecommerce } fn domains(&self) -> &'static [&'static str] { &["aliexpress.com", "aliexpress.ru", "aliexpress.us"] } fn embed_rule(&self) -> Option { None } } pub static PLATFORM: Aliexpress = Aliexpress;