mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
YouTube's new listing layout means yt-dlp no longer returns `view_count` in flat channel/playlist entries, so sorting by views raised KeyError and the download failed and retried forever. Sorting by views now requires per-video extraction (hundreds of requests per channel), so the feature is deprecated rather than degraded: - downloader: the 'views' branch raises UnrecoverableDownloadError so the download fails cleanly (no retry loop) with a message to switch to Newest/Oldest. May be revisited via the YouTube Data API. - schema: download_order validation drops 'views' (newest/oldest/null only). - UI: removed "Most Views" from the download-order dropdown. 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 | ||