/ytdl

Get youtube video download url

Primary LanguageJavaScriptMIT LicenseMIT

ytdl

Get youtube video download url

JSON api

A sample url to get information of DAOKO × 米津玄師『打上花火』MUSIC VIDEO.

https://ytdl.maple3142.net/api?id=-tKVN2mAKRI

To download other video, just change id in the url.

Formatted version

https://ytdl.maple3142.net/api?id=T2pdmZhDXfo&format=1

You can append format=1 to get a human readable JSON.

Graphql

Graphiql: https://ytdl.maple3142.net/graphql

Query:

query ($id: String!) {
  search(id: $id) {
    meta {
      title
      thumbnail_url
      author
      view_count
    }
    stream {
      quality
      type
      url
      itag
    }
  }
}

Variables:

{
  "id": "XogSflwXgpw"
}

Userscript

Local YouTube Downloader

Source Code

A simple youtube link fetcher implemented in browser.