Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Very hard to maintain due to use of YouTube-dl, plus legacy search API

With yt-dlp you can do this:

  yt-dlp ytsearch5:IMG_0416
which searches for IMG_0416 and downloads the first 5 of them. There is no need to use YouTube API.


Great tip! Would love to not have to maintain a headless script. Just set YouTube-dl to update on a cronjob.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: