diff options
author | metamuffin <metamuffin@disroot.org> | 2023-08-05 11:35:29 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-08-05 11:35:29 +0200 |
commit | 4a0f08126d80dc589e3c97bf0a07571b8b828a74 (patch) | |
tree | 3cf1b17e1e831ffa1da7b3f4cf9e6f3ca4a5080c /import/src | |
parent | 60ed27c6578ac3645f0b56b86d2086b57a468126 (diff) | |
download | jellything-4a0f08126d80dc589e3c97bf0a07571b8b828a74.tar jellything-4a0f08126d80dc589e3c97bf0a07571b8b828a74.tar.bz2 jellything-4a0f08126d80dc589e3c97bf0a07571b8b828a74.tar.zst |
speed up metadata import
Diffstat (limited to 'import/src')
-rw-r--r-- | import/src/infojson.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/import/src/infojson.rs b/import/src/infojson.rs index e22fd71..2f5eeb7 100644 --- a/import/src/infojson.rs +++ b/import/src/infojson.rs @@ -25,7 +25,7 @@ pub struct YVideo { pub tags: Vec<String>, pub playable_in_embed: bool, pub automatic_captions: HashMap<String, Vec<YCaption>>, - pub comment_count: usize, + pub comment_count: Option<usize>, pub chapters: Option<Vec<YChapter>>, pub heatmap: Option<Vec<YHeatmapSample>>, pub like_count: usize, |