Built on top of django
using pafy and youtube-dl.
- Clone the project.
- Go to root project directory
- Run command
pip install -r requirements.txt
- Set
YOUTUBE_DATA_API_KEY
in your environment (see https://pythonhosted.org/pafy/#api-keys and https://developers.google.com/youtube/v3/getting-started). This ensures that you don't hit quota limit(which causes Server Error 500) when using the default key provided bypafy
. - Run command
python manage.py runserver
and access it athttp://127.0.0.1:8000/
.
- This is usually caused by outdated
youtube-dl
. Updateyoutube-dl
using commandpip install --upgrade youtube-dl
and try again.
- Right click on the download link and click on
Save link as
to save the video.