Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
baseapp
converter
downloader
emailer
youtube_to_mp3
README.rst
manage.py
requirements.txt
results.db

README.rst

Youtube to mp3 converter

Converts youtube videos to mp3 files and sends an email with download link. All the blocking tasks are done asynchronous so it is safe to use in production.

Setup:

Run the following commands to install all dependencies:

$ pip install -r requirements.txt
$ sudo apt install --assume-yes ffmpeg
$ sudo apt install --assume-yes rabbitmq-server

Start celery daemon:

$ celery -A baseapp.celery worker --loglevel=info

Run dev server (in production use gunicorn):

$ python manage.py runserver

NOTE: Make sure rabbitmq service is running with default credentials.

NOTE 2: I am using Sendgrid as mailing service. I have set it up using an API key I own and I have left it for easier setup. Once you have set it up please change the API key and be nice ^_^ .You can setup your account at Sendgrid.

Change the API Key in youtube_to_mp3/settings.py

You can’t perform that action at this time.