Skip to content

Instantly share code, notes, and snippets.

@tinyapps
tinyapps / ytdlp_nest_comments.py
Last active August 9, 2024 17:41 — forked from pukkandan/ytdlp_nest_comments.py
Convert YouTube comments from an info.json file (acquired via yt-dlp --write-comments) to HTML.
#!/usr/bin/env python3
"""
Forked and modified from pukkandan/ytdlp_nest_comments.py:
https://gist.github.com/pukkandan/ee737fec64822f2552caf3ca4cbf5db7
which included this license and copyright information:
"SPDX-License-Identifier: MIT https://opensource.org/licenses/MIT
Copyright © 2021 pukkandan.ytdlp@gmail.com"
Convert YouTube comments from an info.json file (acquired via