Skip to content
Clone
2f5d35e
28 lines 494 B Rust
use crate::parse::{EmbedRule, Platform};
use crate::Category;
pub struct Miaopai;
impl Platform for Miaopai {
fn id(&self) -> &'static str {
"miaopai"
}
fn name(&self) -> &'static str {
"秒拍"
}
fn category(&self) -> Category {
Category::Video
}
fn domains(&self) -> &'static [&'static str] {
&["miaopai.com"]
}
fn embed_rule(&self) -> Option<EmbedRule> {
None
}
}
pub static PLATFORM: Miaopai = Miaopai;