diff options
author | metamuffin <metamuffin@disroot.org> | 2023-08-04 22:07:14 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-08-04 22:07:14 +0200 |
commit | 0a2f1d909aed3c807a30589aeca17f81c694dd37 (patch) | |
tree | 8684daa06b5c9a48636de9828d63ceae379b694f /import/src/infojson.rs | |
parent | c3ff3320e0ba0085ada9603c3eeb7e557f037677 (diff) | |
download | jellything-0a2f1d909aed3c807a30589aeca17f81c694dd37.tar jellything-0a2f1d909aed3c807a30589aeca17f81c694dd37.tar.bz2 jellything-0a2f1d909aed3c807a30589aeca17f81c694dd37.tar.zst |
show view count and likes
Diffstat (limited to 'import/src/infojson.rs')
-rw-r--r-- | import/src/infojson.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/import/src/infojson.rs b/import/src/infojson.rs index 0ed496c..d9d60ed 100644 --- a/import/src/infojson.rs +++ b/import/src/infojson.rs @@ -26,8 +26,8 @@ pub struct YVideo { pub playable_in_embed: bool, pub automatic_captions: HashMap<String, Vec<YCaption>>, pub comment_count: usize, - pub chapters: Vec<YChapter>, - pub heatmap: Vec<YHeatmapSample>, + pub chapters: Option<Vec<YChapter>>, + pub heatmap: Option<Vec<YHeatmapSample>>, pub like_count: usize, pub channel: String, pub channel_follower_count: usize, |