mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
- strip_youtube_caption_positioning now writes to a temp file in the same directory and os.replace()s the original, so a failed/partial write (e.g. disk full) can never truncate the existing caption file. - Replace the substring `'youtube.com' in url` gate with is_youtube_url(), which parses the hostname and matches youtube.com / youtu.be (and subdomains), rejecting lookalikes like youtube.com.example.org and notyoutube.com. Add a parametrized test. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_api.py | ||
| test_channel_directory_scenarios.py | ||
| test_channel_refresh_external_files.py | ||
| test_channels_config.py | ||
| test_common.py | ||
| test_cookies.py | ||
| test_downloader.py | ||
| test_lib.py | ||
| test_models.py | ||
| test_video.py | ||
| test_video_modeler_loop.py | ||
| test_video_url_resolver.py | ||