2f5d35e
use crate::parse::{EmbedRule, Platform};
use crate::Category;
pub struct Jd;
impl Platform for Jd {
fn id(&self) -> &'static str {
"jd"
}
fn name(&self) -> &'static str {
"京东"
}
fn category(&self) -> Category {
Category::Ecommerce
}
fn domains(&self) -> &'static [&'static str] {
&["jd.com", "jd.hk", "3.cn"]
}
fn embed_rule(&self) -> Option<EmbedRule> {
None
}
}
pub static PLATFORM: Jd = Jd;