frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ask HN: Retro Games for Kids

1•atakan_gurkan•1m ago•0 comments

Show HN: Tera.fm – A calm, radio-style way to listen to today's tech news

https://tera.fm
2•digi_wares•3m ago•0 comments

How to Install Cosmic Desktop on Ubuntu 24.04 LTS

https://linuxiac.com/how-to-install-cosmic-desktop-on-ubuntu-24-04-lts/
1•ipeev•7m ago•0 comments

Show HN: Library for HTML interaction using voice agent

https://github.com/rajnandan1/atticus
1•rajnandan1•8m ago•0 comments

How Apple works: Inside the biggest startup (2011)

https://fortune.com/2011/05/09/inside-apple/
1•ValentineC•10m ago•1 comments

Proposal: Extract the Parser of TypeScript Native into a Standalone Go Module

https://github.com/microsoft/typescript-go/discussions/2442
1•narukeu•11m ago•1 comments

Resurrecting My Game Dev Time with AI

https://rsaul.com/resurrecting-my-game-dev-project-with-ai/
1•TheGRS•11m ago•0 comments

AGI is here (and I feel fine)

https://www.robinsloan.com/winter-garden/agi-is-here/
1•jonas21•11m ago•1 comments

Show HN: Enclose Horse – Daily Puzzle Game

https://enclosehorse.com/
1•cottomzhang•14m ago•0 comments

Show HN: LeetCode on Steroids

https://leetduck.com/
1•collinboler2•16m ago•0 comments

Featherbase

https://www.featherbase.info/
2•aratno•17m ago•0 comments

PgX – Debug Postgres performance in the context of your application code

https://docs.base14.io/blog/introducing-pgx/
2•rshetty•17m ago•0 comments

Fund managers prepare for 'reckoning' in US tech sector

https://www.ft.com/content/48d9c100-0ec6-4edf-9395-eb44879ea5c6
2•zerosizedweasle•17m ago•0 comments

A Tutorial on Safe Anytime-Valid Inference [pdf]

https://www.alexander-ly.com/wp-content/uploads/2025/08/saviTutorial.pdf
2•colonCapitalDee•22m ago•0 comments

Show HN: LensFlowPro – Native macOS screen recorder with system audio capture

https://lensflowpro.vercel.app/
2•chenjy16•29m ago•0 comments

AIVO Standard Methodology Note: Correction and Assurance Ledger

https://zenodo.org/records/18168755
2•businessmate•31m ago•3 comments

Investing Mastery with Nick Sleep: Nomad's Costco Investment

https://quartr.com/insights/investment-strategy/investing-mastery-with-nick-sleep-nomad-s-costco-...
2•akbarnama•33m ago•0 comments

WebF Beta: Bring JavaScript and the Web Dev to Flutter

https://openwebf.com/en/blog/announcing-webf
2•mogomogo19292•37m ago•0 comments

A glimpse into V8 development for RISC-V

https://riseproject.dev/2025/12/09/a-glimpse-into-v8-development-for-risc-v/
3•floitsch•38m ago•1 comments

Most Shorted Stocks of 2025

https://oncow.com/market-insights/most-shorted-stocks/2025
2•lakshmananm•39m ago•0 comments

FreeBSD and Poudriere in High Security Environments

https://vermaden.wordpress.com/2026/01/07/freebsd-and-poudriere-in-high-security-environments/
2•vermaden•43m ago•0 comments

LMArena is a cancer on AI

https://surgehq.ai/blog/lmarena-is-a-plague-on-ai
3•jumploops•47m ago•0 comments

A game engine based on dynamic SDFs [video]

https://www.youtube.com/watch?v=il-TXbn5iMA
3•agys•47m ago•0 comments

Japanese Washi Paper

https://paper.gatech.edu/washi/washi-history-japanese-papermaking
2•1659447091•50m ago•1 comments

2025 Buy-Side Quant Job Advice

https://byfire.substack.com/p/2025-buy-side-quant-job-advice
2•throwaway2037•52m ago•0 comments

Ask HN: What is your set-up and process for using AI agents in Coding

2•neumann•55m ago•0 comments

The Untold Story of Charlie Munger's Final Years

https://www.msn.com/en-us/money/personalfinance/the-untold-story-of-charlie-munger-s-final-years/...
3•gregzeng95•1h ago•1 comments

What Social Science Knows About the Value of Diversity

https://www.theatlantic.com/ideas/archive/2025/08/viewpoint-diversity-profit-business/684025/
2•johntfella•1h ago•1 comments

Lego's 'SMART brick' is designed for interactive play without screens

https://www.designboom.com/design/lego-smart-brick-interactive-play-screen-free-ces-01-07-2026/
2•geox•1h ago•1 comments

Logitech Options+ not working on macOS due to expired cert

https://old.reddit.com/r/LogitechG/comments/1q62t6z/known_issue_with_g_hub_and_mac_os_1626/
6•lattalayta•1h ago•0 comments
Open in hackernews

YouTube Playlist Downloader

https://github.com/Linuxmaster14/yt-playlist-downloader
55•linuxmaster14•2d ago

Comments

xnx•2d ago
yt-dlp is second only to ffmpeg in being a pillar of functionality that gets frequently wrapped in convenience scripts
graynk•2d ago
In this case I'm not sure why a convenience wrapper is even needed, yt-dlp already works with playlists just fine
jasode•2d ago
>I'm not sure why a convenience wrapper is even needed,

Author wanted yt-dlp to be fed with a custom text file: "playlists.txt"

The script loops through that text file, parses it, and then launches yt-dlp for each valid line with a channel name.

bramhaag•2d ago
Which is essentially just this:

    yt-dlp -o "%(channel)s/%(playlist_title)s/%(title)s.%(ext)s" -a playlists.txt
I'm not sure if that warrants a HN post
taylorfinley•2d ago
Right? Just add this to .bashrc:

alias yt-pl='yt-dlp -o "%(channel)s/%(playlist_title)s/%(title)s.%(ext)s" -a playlists.txt'

graynk•2d ago
So -o "%(channel)s - %(title)s.%(ext)s", --batch-file and optionally --download-archive?

https://github.com/yt-dlp/yt-dlp#:~:text=channel%20%28string...

https://github.com/yt-dlp/yt-dlp#:~:text=%2Da%2C%20%2D%2Dbat...

https://github.com/yt-dlp/yt-dlp#:~:text=%2D%2Ddownload%2Dar...

Not to mention that the script is clearly LLM-generated

xnx•2d ago
Agree. Now it's easier to ask you favorite command line AI (e.g. Gemini CLI) something like "download this list of playlists with yt-dlp" rather than learn someone else's code or even check the manual.
dawnerd•2d ago
The script linked was just vibe coded. Ai isn’t that great with the ytdl params, yet. It’s obvious because if an LLM really knew how to use ytdl it would have used the input file option instead of looping through a file and invoking for each one.
xnx•2d ago
> Ai isn’t that great with the ytdl params

Gemini nails it:

When downloading multiple playlists, it is usually better to organize them into separate folders so the files don't all end up in one giant mess. You can use an output template to automatically create folders based on the playlist title:

yt-dlp -a playlists.txt -o "%(playlist_title)s/%(playlist_index)s - %(title)s.%(ext)s"

dawnerd•2d ago
Interesting, must be a new fix. A couple months ago I tried to have it create a command and it hallucinated params.
weli•2d ago
Unrelated, but I want to move from a Google account youtube feed to something a bit more client-side where I have the control but my main problem is the YouTube recommendation algorithm.

I feel like after a decade and a half google knows pretty well what I like and what I'm interested in. I built that homepage brick by brick.

Whenever I tried other youtube clients or ungoogled alternatives the recommendations were all really generic and not that good. Of course I won't find something that matches the real deal, but at least I want to:

1. Steer away from viral content, aka Mr Beast videos or whatever. 2. Have discoverability of youtube videos I would be interested in but that I'm not subscribed to yet.

To this day I still find new channels or videos I'm really interested in on my recommended feed.

cr125rider•2d ago
You can get RSS feeds of channels still. I use that in my feed reader
listic•2d ago
I, on the other hand, turned off YouTube recomendations with UnDistracted. Maybe I'm missing out; who knows.
kelvinjps10•2d ago
Revanced you can still have the same algo. Also smarttubr
jasode•2d ago
The repo should mention a warning about usage. Be aware that downloading large playlists with lots of videos from Youtube can get your ip address throttled/banned. The ban could last a week or a month.

It's also not a good idea to use "--cookies" unless you absolutely have to. Just leave out the cookies option and try to dl anonymously. Only when Youtube forces your ip address to "sign in" is it necessary to pass in cookies.

dawnerd•2d ago
Exactly. There’s been account ban reports from it too. Id be very careful if it’s your normal google account that’s tied to YouTube. Always use a burner account when using the cookies param to be safe.
crazygringo•2d ago
I don't understand. yt-dlp already downloads a whole playlist if you pass it a playlist URL. What does this tool add?

It says "by channel name" but then it seems like you still have to pass in each playlist URL separately.

This is just a "wrapper" for something yt-dlp already does?

chrismorgan•2d ago
It’s wrapping a somewhat opinionated and mildly bizarre yt-dlp invocation, for each line of a file doing a mkdir/cd and then invoking yt-dlp.

—⁂—

From the “Features” section of the README:

> • Organized Structure: Creates separate directories for each channel.

… depending on you mentioning that name in your playlists.txt file, so that if you were writing a script you’d just be doing a mkdir/cd yourself, trivial.

> • Smart Sync: Skips files that have already been downloaded (--no-overwrites).

That’s not really what --no-overwrites does. The default of --no-force-overwrites is probably actually what you want: “do not overwrite the video, but overwrite related files”. You probably do want metadata files to be updated on subsequent runs.

> • Clean Naming: Saves files as Playlist Title/Video Title.mp4 (no numeric prefixes).

This is an Opinion.

> • Batch Processing: Reads multiple playlists from a playlists.txt file.

Meh, you’re invoking a script, putting the stuff in the script would be at least as easy.

—⁂—

From the script itself, going through the arguments passed to yt-dlp:

        --cookies "$COOKIES_FILE"
My impression is that this is discouraged unless necessary. And if you need it, --cookies-from-browser will be more convenient.

        -f "bv*+ba/b"
That’s equivalent to the default.

        --merge-output-format mp4
This is an Opinion.

        --no-overwrites
I’m not convinced this is desirable. Videos already won’t be overwritten by default, this just stops metadata from being updated on subsequent runs, though I’m not sure what things might be updated.

        -o "%(playlist_title)s/%(title)s.%(ext)s"
This is an Opinion.

—⁂—

Instead of having a playlists.txt file containing `Channel Name|https://www.youtube.com/playlist?list=x` and having a separate 73-line file download_playlists.sh, you might as well have just one download_playlists.sh file containing:

  dl() {
    mkdir -p "$1"
    pushd "$1"
    yt-dlp -o "%(playlist_title)s/%(title)s.%(ext)s" "$2"
    popd
  }

  dl 'Channel Name' 'https://www.youtube.com/playlist?list=x'
By dint of its simplicity, easier to work with and tweak to your own requirements (such as dropping `--merge-output-format mp4` as I did here). Also more obvious how to invoke it just once. (Aside: use pushd/popd instead of `cd "$channel_name"` and `cd ..`, because then $channel_name containing a slash won’t bork it.)
tegiddrone•2d ago
I've been glancing at ytdl-sub, which does the same thing but with interesting options to rate limit.

https://ytdl-sub.readthedocs.io

axm997•2d ago

  To get YouTube videos offline on your phone/tablet for flights:

  1. Create a playlist called “download” and add the videos you want.
  2. Use yt-dlp (playlist URL) or this tool to pull that playlist to a folder.
  3. Run the downloader on your Plex box on a schedule (cron/launchd).
  4. Add that folder to Plex as a library.
  5. Enable downloads for that library in Plex, then sync to your device.
fragmede•2d ago
Or... just pay them that thing called money, and use the buttons in the YouTube app.