From a7945e30e3a181cf2b579337c71fa053fe571d70 Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 18 Mar 2022 22:11:41 +0700 Subject: [PATCH] fix building missing vid ids list --- tubearchivist/home/tasks.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tubearchivist/home/tasks.py b/tubearchivist/home/tasks.py index e035b7d..a2773de 100644 --- a/tubearchivist/home/tasks.py +++ b/tubearchivist/home/tasks.py @@ -63,9 +63,7 @@ def update_subscribed(): missing_from_playlists = playlist_handler.find_missing() missing = missing_from_channels + missing_from_playlists if missing: - youtube_ids = [ - {"type": "video", "url": i["youtube_id"]} for i in missing - ] + youtube_ids = [{"type": "video", "url": i} for i in missing] pending_handler = PendingList(youtube_ids=youtube_ids) pending_handler.parse_url_list() pending_handler.add_to_pending()