logoalt Hacker News

red-iron-pine11/06/20253 repliesview on HN

sweet jesus share that script.

there are a lot of YT vids that can be summed up essentially in 2 sentences and I don't need to see 4 ads first.

YT's actual AI summary is useless, arguably net negative


Replies

hebelehubele11/07/2025

This is the script that uses yt-dlp to print the English transcript. I pipe it to Simon Willison's `llm` tool.

https://gist.github.com/abdusco/118a6a3ab41a0a1d2a5f8813f789...

https://github.com/simonw/llm

    > youtube_transcript.py 'https://www.youtube.com/watch?v=DAX2_mPr9W8' | llm 'give me keypoints, ignore promotions'
    Certainly! Here are the key points from the detailed discussion about dishwasher detergents, washing cycles, and hot water use:
    
    1. **Dishwasher Detergent Basics:**
       - Most dishwashers have a detergent dispenser designed to release detergent in two doses: a smaller pre-wash dose and a larger main wash dose.
       - The pre-wash helps remove easily dissolvable food residues before the main wash.
       - Oils and fats do not dissolve well in plain water; putting some detergent in the pre-wash water helps emulsify and remove these soils early.
    
    2. **Why Use Loose Powder Detergents:**
       - Loose powders allow flexible dosing: users can adjust detergent amounts based on load dirtiness.
       - Pre-dosed pods force a single, fixed dose which can be excessive or insufficient depending on the wash.
       - The dispenser’s design supports splitting detergent dosing; powders are better aligned with this system than pods.
    
       ... you get the point
trenchpilgrim11/07/2025

Kagi has this as a website https://kagi.com/summarizer and as a browser extension. Really handy for deciding if a long video is worth watching.

jfim11/06/2025

If you want to build a quick one, it's yt-dlp to download the video, whisper to transcribe the audio, and Claude code have it summarize the transcript.

I'm not at my computer RN but I'll share it later.