tests: add tests for YT internal channels, remove RSS default feature
This commit is contained in:
parent
de118c59c4
commit
62853d50bf
6 changed files with 90 additions and 60 deletions
|
|
@ -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}")]
|
||||
|
|
|
|||
Reference in a new issue