fix: parsing music details with video description tab

This commit is contained in:
ThetaDev 2024-03-24 02:31:17 +01:00
parent e5d85ae76d
commit a267413a82
4 changed files with 31 additions and 3 deletions

View file

@ -0,0 +1,26 @@
---
source: tests/youtube.rs
expression: track
---
TrackDetails(
track: TrackItem(
id: "1eekOcpx_iQ",
name: "NCT 127 \'Highway to Heaven\' NEO CITY Tour Film ver.",
duration: Some(202),
cover: "[cover]",
artists: [
ArtistId(
id: Some("UCk2E0dbAyEJWnrN2bbQOcbg"),
name: "NCT 127",
),
],
artist_id: Some("UCk2E0dbAyEJWnrN2bbQOcbg"),
album: None,
view_count: "[view_count]",
is_video: true,
track_nr: None,
by_va: false,
),
lyrics_id: None,
related_id: None,
)