diff --git a/tubearchivist/home/src/download.py b/tubearchivist/home/src/download.py index 454d3ef..8e7819d 100644 --- a/tubearchivist/home/src/download.py +++ b/tubearchivist/home/src/download.py @@ -794,6 +794,8 @@ class VideoDownloader: } all_to_delete = IndexPaginate("ta_video", data).get_results() all_youtube_ids = [i["youtube_id"] for i in all_to_delete] + if not all_youtube_ids: + return for youtube_id in all_youtube_ids: print(f"autodelete {youtube_id}")