From a3910a79299bfd1e71e9111b575ee12765c0ac8c Mon Sep 17 00:00:00 2001 From: Simon Date: Sat, 7 Dec 2024 22:07:01 +0700 Subject: [PATCH] fix none channel playlist entry extraction --- tubearchivist/home/src/index/playlist.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tubearchivist/home/src/index/playlist.py b/tubearchivist/home/src/index/playlist.py index a7cef0f0..bee54231 100644 --- a/tubearchivist/home/src/index/playlist.py +++ b/tubearchivist/home/src/index/playlist.py @@ -93,13 +93,10 @@ class YoutubePlaylist(YouTubeItem): """get all videos in playlist, match downloaded with ids_found""" all_members = [] for idx, entry in enumerate(self.youtube_meta["entries"]): - if not entry["channel"]: - continue - to_append = { "youtube_id": entry["id"], "title": entry["title"], - "uploader": entry["channel"], + "uploader": entry.get("channel"), "idx": idx, "downloaded": entry["id"] in ids_found, }