Files
youclonedl/backend/routers
Mattias Tall cdf6520fd8 Add lazy comment fetching to watch page
- VideoComment model (video_id, author, text, likes, is_pinned, published_at)
- fetch_video_comments() in ytdlp.py: top 20 comments, no reply threads,
  sorted pinned-first then by likes
- GET /videos/by-yt/{id}/comments — returns cached comments instantly
- POST /videos/by-yt/{id}/comments/refresh — fetches from YouTube, stores, returns
- Watch page: CommentsSection shows "Load comments" button when uncached,
  renders comments with author/likes once loaded; Refresh link to re-fetch

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-26 11:15:41 +02:00
..
2026-05-25 20:09:04 +02:00
2026-05-25 20:09:04 +02:00
2026-05-25 20:09:04 +02:00
2026-05-25 20:09:04 +02:00
2026-05-25 20:09:04 +02:00
2026-05-25 20:09:04 +02:00
2026-05-25 20:09:04 +02:00
2026-05-25 20:09:04 +02:00
2026-05-25 20:09:04 +02:00