Skip to content

Download YouTube videos as a function

Notifications You must be signed in to change notification settings

hijak/youtube-dl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

youtube-dl

YouTube download via a function

$ git clone https://github.com/faas-and-furious/youtube-dl \
  cd youtube-dl

Now deploy:

$ faas-cli deploy

The YAML file is optional:

$ faas-cli deploy -f \
https://raw.githubusercontent.com/faas-and-furious/youtube-dl/master/stack.yml

Or from the local file:

$ faas-cli deploy

Try it out:

$ echo -n https://www.youtube.com/watch?v=nG2rNBFzkGE | \
  faas-cli invoke youtubedl > cat_jump.mov

Or with curl:

$ curl localhost:8080/function/youtubedl \
 -d "https://www.youtube.com/watch?v=BJDJFMlvV_8" > cat_purr.mov

About

Download YouTube videos as a function

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 79.7%
  • Shell 20.3%