Skip to content
Clone
2f5d35e
32 lines 613 B Rust
use crate::parse::{EmbedRule, Platform};
use crate::Category;
pub struct Podbean;
impl Platform for Podbean {
fn id(&self) -> &'static str {
"podbean"
}
fn name(&self) -> &'static str {
"Podbean"
}
fn category(&self) -> Category {
Category::Music
}
fn domains(&self) -> &'static [&'static str] {
&["podbean.com"]
}
fn embed_rule(&self) -> Option<EmbedRule> {
None
}
fn oembed(&self) -> Option<&'static str> {
Some("https://api.podbean.com/v1/oembed?url={url_enc}")
}
}
pub static PLATFORM: Podbean = Podbean;