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