yexdl v0.1.0 Yexdl

Yexdl provide function for querying all direct links (mp4 links) with all supported qualities from youtube video id.

Link to this section Summary

Functions

Query all available direct links for a video

Link to this section Functions

Link to this function get_all_source(video_id)

Query all available direct links for a video

Each video quality and format has a different link

Example

iex> Yexdl.get_all_source("txuGKmLDTtk")
[
  %{
     "itag" => "17",
     "quality" => "small",
     "type" => "video/3gpp; codecs='mp4v.20.3, mp4a.40.2'",
     "url" => "https://r7---sn-8pxuuxa-nbol7.googlevideo.com/v..."
  },
  %{
     "itag" => "12",
     "quality" => "medium",
     "type" => "video/mp4; codecs='mp4v.20.3, mp4a.40.2'",
     "url" => "https://r7---sn-8pxuuxa-nbol7.googlevideo.com/v..."
   }
]
Link to this function get_source(video_id, quality)