Get youtube video download url
Branch: master
Clone or download
Latest commit 56f498e Feb 7, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore init Apr 20, 2018
LICENSE Create LICENSE Sep 15, 2018
README.md update readme Sep 15, 2018
decsig.js fix decsig Feb 7, 2019
getvid.js refactor Sep 16, 2018
gql.js fix Sep 15, 2018
index.js add cors for gql Sep 15, 2018
package-lock.json use TelegramBot again & add more features Aug 19, 2018
package.json update Oct 6, 2018
sandboxutil.js update sandbox Sep 15, 2018
schema.gql update gql adaptive schema Sep 15, 2018
tgbot.js update Oct 6, 2018
thumbnail.js update thumbnail Sep 15, 2018

README.md

ytdl

Get youtube video download url

JSON api

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

https://maple-ytdl.herokuapp.com/api?id=-tKVN2mAKRI

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

Formatted version

https://maple-ytdl.herokuapp.com/api?id=T2pdmZhDXfo&format=1

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

Graphql

Graphiql: https://maple-ytdl.herokuapp.com/graphql

Example

Query:

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

Variables:

{
  "id": "XogSflwXgpw"
}

Telegram bot

@ytdl3142_bot

Send video URL to the bot, and it will retrieve the raw video URL for you.

Userscript

Local YouTube Downloader

Source Code

A simple youtube link fetcher implemented in browser.