Skip to content

Instantly share code, notes, and snippets.

View amir16yp's full-sized avatar

Amir Y. Perehodnik amir16yp

View GitHub Profile
@amir16yp
amir16yp / visualytdlcomments.py
Created January 20, 2024 21:24
Visualize downloaded yt-dlp comments in HTML format
import json
from sys import argv
from datetime import datetime
header_html = """\
<!DOCTYPE html>
<html>
<head>
<title>Comment Data</title>
<style>
@amir16yp
amir16yp / yts.py
Created November 29, 2023 19:42
YTS scraper/downloader
#!/usr/bin/python3
import requests
from bs4 import BeautifulSoup
from sys import argv
from os import getcwd
import subprocess
def ask_yes_no_question(question):