main
use crate::parse::{EmbedRule, Platform};
use crate::Category;
pub struct Cnn;
impl Platform for Cnn {
fn id(&self) -> &'static str {
"cnn"
}
fn name(&self) -> &'static str {
"CNN"
}
fn category(&self) -> Category {
Category::News
}
fn domains(&self) -> &'static [&'static str] {
&["cnn.com", "cnn.it"]
}
fn embed_rule(&self) -> Option<EmbedRule> {
None
}
}
pub static PLATFORM: Cnn = Cnn;