Fix comments (Python API), add dislike bar
Comments: switch from CLI --write-comments to yt-dlp Python API with getcomments=True — more reliable, proper extractor_args dict format Dislikes: add dislike_count column, fetch from returnyoutubedislike.com after each video metadata upsert (5s timeout, non-fatal) UI: replace emoji like count with a like/dislike ratio bar — blue fill showing like proportion, labels on each end; views stay in meta row Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -62,6 +62,7 @@ class Video(Base):
|
||||
chapters = Column(Text) # JSON array of {start_time, end_time, title}
|
||||
view_count = Column(Integer)
|
||||
like_count = Column(Integer)
|
||||
dislike_count = Column(Integer)
|
||||
|
||||
|
||||
class UserVideo(Base):
|
||||
|
||||
Reference in New Issue
Block a user