main
use crate::parse::{EmbedRule, Platform};
use crate::Category;
pub struct DouyinLive;
impl Platform for DouyinLive {
fn id(&self) -> &'static str {
"douyin-live"
}
fn name(&self) -> &'static str {
"抖音直播"
}
fn category(&self) -> Category {
Category::Live
}
fn domains(&self) -> &'static [&'static str] {
&["live.douyin.com"]
}
fn embed_rule(&self) -> Option<EmbedRule> {
None
}
}
pub static PLATFORM: DouyinLive = DouyinLive;