zlacker

[return to "Show HN: If YouTube had actual channels"]
1. jeffhu+Mr[view] [source] 2024-08-14 17:54:16
>>hadisa+(OP)
Also works on localhost, run these commands:

`wget -r -np -k https://ytch.xyz` - downloads the website recursively

`wget https://ytch.xyz/list.json` - download the list of what every channel plays and will play (I'm not sure if this ever really changes. The real website adds ?t=<time since epoch in ms>)

Then for instance run `python3 -m http.server` and visit localhost:8000

:)

◧◩
2. hadisa+Ds[view] [source] 2024-08-14 17:58:51
>>jeffhu+Mr
When a channel reaches the last video, list.json will be fetched to get an updated list of videos.
◧◩◪
3. jeffhu+lu[view] [source] 2024-08-14 18:10:22
>>hadisa+Ds
I see that you're the creator, I absolutely love what you made :)

I'm curious, do you generate that list on-the-fly, based on the current time/day? Or is it more static?

[go to top]