Open Ecstaticoder opened 2 months ago
Plausible
It would be funny if I rely on cobalt.tools for the video URL (#34)
Can't just hotlink from acgvideo because there are prevention mechanisms... except only now I notice it says its dropped if I pass html5 as the platform, still risky though
Hmm, so temporary hosting seems to be the only solution then. Right?
Temporary hosting is probably the best but is out of scope for this project
This is just some alternative method for embedding the videos. Using https://embed.works/ before a BiliBili link allows the video to be embedded. (You can try this yourself, if it doesn't work wait a bit then remove or add a "/" at the end of the link) It works by grabbing a direct link to the video to embed, if that doesn't work it downloads the video and then hosts it on a server.
Here's a link to the repository. https://github.com/jemand771/embed.works