serverless-youtube-dl
v0.0.1
Published
A Serverless Project and its Serverless Plugin dependencies.
Downloads
4
Readme
Serverless Youtube DL
TODO
Install
Make sure you have the Serverless Framework installed and you're using Node.js v4.0+.
npm install serverless -g
Open a command line terminal and cd
to the location where you will be placing the serverless-youtube-dl project.
Clone the project directly from Github:
git clone [email protected]:movielala/serverless-youtube-dl.git
Enter the serverless-youtube-dl folder that was just created:
cd serverless-youtube-dl
Install all npm dependencies:
npm install
cd video
npm install
Initialize the project:
serverless project init
Deploy your functions and endpoints:
serverless dash deploy
Examples
- https://your-api-gateway.com/your-stage/video?url=https://www.youtube.com/watch?v=UiyDmqO59QE
- https://your-api-gateway.com/your-stage/video?url=https://www.youtube.com/watch?v=UiyDmqO59QE&raw=1