Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
1una
· 2y ago · 0 comments
> 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.
Comments
[–]
fiatpandas
2y ago
Great tip! Would love to not have to maintain a headless script. Just set YouTube-dl to update on a cronjob.