zlacker

[parent] [thread] 5 comments
1. fiatpa+(OP)[view] [source] 2024-11-11 00:10:07
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.
replies(2): >>akerst+u2 >>1una+Xn
2. akerst+u2[view] [source] 2024-11-11 00:49:02
>>fiatpa+(OP)
> I was eventually kicked off

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

replies(1): >>fiatpa+v7
◧◩
3. fiatpa+v7[view] [source] [discussion] 2024-11-11 01:56:04
>>akerst+u2
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.
replies(1): >>Ginger+j51
4. 1una+Xn[view] [source] 2024-11-11 06:56:55
>>fiatpa+(OP)
> 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.
replies(1): >>fiatpa+7e1
◧◩◪
5. Ginger+j51[view] [source] [discussion] 2024-11-11 15:14:22
>>fiatpa+v7
Same thing reported by author of: https://default-filename-tv.neocities.org/
◧◩
6. fiatpa+7e1[view] [source] [discussion] 2024-11-11 16:20:40
>>1una+Xn
Great tip! Would love to not have to maintain a headless script. Just set YouTube-dl to update on a cronjob.
[go to top]