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