This commit is contained in:
Marc Beninca 2025-03-17 20:30:12 +01:00
parent 46073e6e3a
commit 1c44e0cc7f
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -227,8 +227,11 @@ def extract_video(video_id: str) -> dict:
def next_download(videos: list[str]) -> str | None: def next_download(videos: list[str]) -> str | None:
index = 0
for video_id in videos: for video_id in videos:
index += 1
if not Path(f"{video_id}.mp4").exists(): if not Path(f"{video_id}.mp4").exists():
log.info(f"{index} ∕ {len(videos)}")
return video_id return video_id
return None return None