tests: update the test for YouTube videos without subtitles
- ID
cfcf6f6- date
2026-08-30 20:18:28+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
4f2fdb2- message
tests: update the test for YouTube videos without subtitles The test no longer fails with the old URL, because yt-dlp finds the auto-generated subtitles for the video. Update it to a video which is only piano music and has no spoken audio to transcribe.- changed files
1 file, 2 additions, 1 deletion
Changed files
test_yt-dlp_alexwlchan.py (4891 → 4952)
diff --git a/test_yt-dlp_alexwlchan.py b/test_yt-dlp_alexwlchan.py
index 90c7a8c..0dfe4c7 100644
--- a/test_yt-dlp_alexwlchan.py
+++ b/test_yt-dlp_alexwlchan.py
@@ -53,7 +53,8 @@ def test_youtube_video_does_not_http429() -> None:
"""
Download a YouTube video without any subtitles or spoken audio.
"""
- video = download_video("https://www.youtube.com/watch?v=0N1_0SUGlDQ")
+ # 'In This Moment' [Ambient Piano CC-BY] - Scott Buckley
+ video = download_video("https://www.youtube.com/watch?v=ittj60VE6bU")
assert video["subtitle_path"] is None