Darkness4 / withny-dl

Automatically download a withny livestream.
MIT License
3 stars 0 forks source link

Handle multiple streams #7

Closed Darkness4 closed 1 month ago

Darkness4 commented 1 month ago

The API can technically return multiple streams.

This would also permits to download all the livestream on the website.

This requires to switch the watcher to single thread, launch goroutines per stream, and handle a store of streams being downloaded, i.e, this requires to reachitecture withny-dl and to separate from fc2-live-dl architecture.

We can also stick to this architecture and simply launch a goroutine when we download a livestream. We keep track of streams being downloaded.

One is stream-centric rearchitecture, the other is a patch on the existing architecture.

Darkness4 commented 1 month ago

Patch on existin archtiecture. Released: 1.2.0.