From 5c84fd105f69f716f7be5320b7e352693f170905 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 9 May 2024 15:05:21 +0200 Subject: fix(sys/pkgs/yt): Don't require an thumbnail url Some extractors do not provide it. --- sys/nixpkgs/pkgs/yt/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/nixpkgs/pkgs/yt/src') diff --git a/sys/nixpkgs/pkgs/yt/src/lib.rs b/sys/nixpkgs/pkgs/yt/src/lib.rs index 856a4cbc..b089c1a2 100644 --- a/sys/nixpkgs/pkgs/yt/src/lib.rs +++ b/sys/nixpkgs/pkgs/yt/src/lib.rs @@ -14,7 +14,7 @@ pub struct YtccListData { pub publish_date: String, pub watch_date: Option, pub duration: String, - pub thumbnail_url: String, + pub thumbnail_url: Option, pub extractor_hash: String, pub id: u32, pub playlists: Vec, -- cgit 1.4.1