Hacker News new | past | comments | ask | show | jobs | submit login

Used to have a raspberry pi + small hdmi screen on a shelf, and it would randomly play these raw uploads 24/7, new video every 2 minutes. It was fun to encounter random home movies all day. Very hard to maintain due to use of YouTube-dl, plus legacy search API that I was eventually kicked off of after unsuccessfully arguing for my continued use as an art project. My version searched for 4-5 different camera prefixes including IMG_. Would be fun to remake the backend with a headless browser framework + YouTube-dl.



> 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.


> I was eventually kicked off

Woah, can you expand on that? Did you get IP banned from YouTube?


No, to my memory they were phasing out the API except for case-by-case allowed usage. I think I opened a support ticket to justify continued access, with a description of my project, but they denied my use case. I can’t remember now if access was cut off, or if limits were dropped so low it was unusable, but the project became infeasible.


Same thing reported by author of: https://default-filename-tv.neocities.org/




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: