fix: remove error on YTM track redirects
Example: ZKrwJi0fa34 => z10dAMnp1gc
This commit is contained in:
parent
d6de428549
commit
e247b0c5d9
1 changed files with 0 additions and 7 deletions
|
|
@ -227,13 +227,6 @@ impl MapResponse<TrackDetails> for response::MusicDetails {
|
|||
.ok_or(ExtractionError::InvalidData(Cow::Borrowed("no video item")))?;
|
||||
let mut track = map_queue_item(track_item, lang);
|
||||
|
||||
if track.c.id != id {
|
||||
return Err(ExtractionError::WrongResult(format!(
|
||||
"got wrong video id {}, expected {}",
|
||||
track.c.id, id
|
||||
)));
|
||||
}
|
||||
|
||||
let mut warnings = content.contents.warnings;
|
||||
warnings.append(&mut track.warnings);
|
||||
|
||||
|
|
|
|||
Reference in a new issue