tests: add tests for YT internal channels, remove RSS default feature

This commit is contained in:
ThetaDev 2022-10-12 21:17:54 +02:00
parent de118c59c4
commit 62853d50bf
6 changed files with 90 additions and 60 deletions

View file

@ -75,10 +75,8 @@ pub enum ExtractionError {
VideoUnavailable(&'static str, String),
#[error("Video is age restricted")]
VideoAgeRestricted,
#[error("Content is not available. Reason (from YT): {0}")]
ContentUnavailable(String),
#[error("Got no data from YouTube")]
NoData,
#[error("Content is not available. Reason: {0}")]
ContentUnavailable(Cow<'static, str>),
#[error("deserialization error: {0}")]
Deserialization(#[from] serde_json::Error),
#[error("got invalid data from YT: {0}")]