4 ms·
This is awesome. Any way you can make an API out of this?
by emilsedgh 6y ago
This is awesome. Any way you can make an API out of this?
- kristoph1 6y agoThank you, there is no plan at the moment to create an api, but maybe in the future.
- flanbiscuit 6y agoThis is not a replacement for someone else conveniently creating an API for you but if you're interested in running your own version of this you can probably recreate this with a combination of youtube-dl[1] (Python) and ffmpeg[2] and build an API around that. Youtube-dl handles A LOT more sites than just Youtube[3] 1. http://ytdl-org.github.io/youtube-dl/download.html http://ytdl-org.github.io/youtube-dl/download.html 2. https://engineering.giphy.com/how-to-make-gifs-with-ffmpeg/ https://engineering.giphy.com/how-to-make-gifs-with-ffmpeg/ 3. http://ytdl-org.github.io/youtube-dl/supportedsites.html http://ytdl-org.github.io/youtube-dl/supportedsites.html I wouldn't be surprised if this site was doing exactly this.
- emilsedgh 6y agoYes unfortunately creating a prototype is one thing but maintenance, monitoring and long term commitment is another. Thanks a lot though. youtube-dl and ffmpeg are very handy tools.
- builderone 6y agoI use both YouTube-DL and FFMPEG to accomplish this task. I will say this, creating high quality GIF is by far the easiest part of the whole thing. Bypassing too many request as well as throttling which youtube is very good at was the trickiest part and still is. Making something work for a single user is one thing, scaling so everyone else can use it is a whole different beast. The name of the game is proxy and everything revolves around that.