aboutsummaryrefslogtreecommitdiff
path: root/import/src/infojson.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-01-05 01:52:00 +0100
committermetamuffin <metamuffin@disroot.org>2024-01-05 01:52:00 +0100
commit7608522c8fdf46b93877da3fee4f21df3496beec (patch)
tree33b5819d17be535d7d44feedc675ebc0da4e16d4 /import/src/infojson.rs
parentbe510f1167f316eb18a798e6413220e7f91f782a (diff)
downloadjellything-7608522c8fdf46b93877da3fee4f21df3496beec.tar
jellything-7608522c8fdf46b93877da3fee4f21df3496beec.tar.bz2
jellything-7608522c8fdf46b93877da3fee4f21df3496beec.tar.zst
recursive import fixes (untested)
Diffstat (limited to 'import/src/infojson.rs')
-rw-r--r--import/src/infojson.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/import/src/infojson.rs b/import/src/infojson.rs
index 3f0edc9..c18c19d 100644
--- a/import/src/infojson.rs
+++ b/import/src/infojson.rs
@@ -32,11 +32,11 @@ pub struct YVideo {
pub heatmap: Option<Vec<YHeatmapSample>>,
pub like_count: Option<usize>,
pub channel: Option<String>,
- pub channel_follower_count: usize,
+ pub channel_follower_count: Option<usize>,
pub channel_is_verified: Option<bool>,
- pub uploader: String,
- pub uploader_id: String,
- pub uploader_url: String,
+ pub uploader: Option<String>,
+ pub uploader_id: Option<String>,
+ pub uploader_url: Option<String>,
pub upload_date: String,
pub availability: String, // "public" | "private" | "unlisted",
pub original_url: Option<String>,