Wrap youtube-dl in the Invidious API.
f67c6604 — Cadence Ember 2 months ago
Link to Second in readme
be7eced7 — Cadence Ember 3 months ago
Add custom 429 error
c1e82787 — Cadence Ember 3 months ago
Add IPv4/IPv6 switch


browse  log 



You can also use your local clone with git send-email.

#This project has been superseded by Second.


For a brief explanation why, see here: https://cadence.moe/blog/2020-08-29-untitled-i#ytdl-scale-explanation

For an even briefer explanation: It doesn't work well, it's missing a bunch of information, and it totally doesn't scale.

The original readme continues below.


#A very creatively named project

Want to run Invidious to get data about YouTube videos, but it takes ages to build and uses too much memory and sometimes doesn't work and the api-only branch is outdated? This is for you.

This project is a webserver that mirrors the Invidious API, but forwards all calls to the youtube-dl command line rather than using Invidious's code. Responses are returned in the same format as Invidious, but youtube-dl doesn't quite provide all of the data, so some less important fields may be missing. Check the code to see which exactly.


  • /api/v1/videos/{id}

#Feature ideas

  • Proxying streams
  • IPv4/IPv6 switching
  • Error messages
  • Cache

#Not implemented endpoints

  • search
  • channel
  • playlist
  • trending
  • stats


I'm making this for myself, so don't expect missing features to be implemented ever. Pull requests are welcome if you have something to add.