Added
- 💬 Collect the comments of a video with
YouTube.comments(video). Pass a
video id or any YouTube URL and iterate over the returnedCommentThread;
it transparently pages through every comment (and reply), just like search
results. Comments are exposed as a newCommentmodel (author, text, like &
reply counts, published time,is_reply). - ↳ Optional reply collection:
YouTube.comments(video, include_replies=True)
now also expands the replies of every comment thread. Each reply has
is_reply=Trueand is yielded right after the comment it replies to; the CLI
gained a matching--repliesflag. - 🖥️ New CLI command:
python -m ytscrape comments <video> [--max N] [--replies] [--sort top|newest]. - 🔀 New
sortoption for comment collection:
YouTube.comments(video, sort=CommentSort.NEWEST)(orsort="newest"). The
newCommentSortenum (TOP/NEWEST) is exported from the package top
level, and the CLI gained a matching--sortflag. - 📚 New example
examples/07_video_comments.pyshowing how to collect
comments (and their replies). - ❤️ Richer
Commentmodel: newheartflag (whether the video's creator
hearted the comment) pluslike_count_text/reply_count_textfields that
keep YouTube's raw counts, including abbreviations such as1.2Kthat the
integerlike_count/reply_countcannot represent exactly.