mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-25 09:26:17 -05: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> |
||
|---|---|---|
| .. | ||
| channel | ||
| test | ||
| video | ||
| __init__.py | ||
| api.py | ||
| common.py | ||
| conftest.py | ||
| cookies.py | ||
| downloader.py | ||
| errors.py | ||
| lib.py | ||
| models.py | ||
| normalize_video_url.py | ||
| schema.py | ||