$ git clone http://github.com/tarikyayla/yt_downloader
cd yt_downloader
cd server
virtualenv myenv
source myenv/bin/activate
pip install -r requirements.txt
python app.py
Remove App.js and Index.js
Move Index.js and package.json files to your own react-native application directory
Install packages from packages.json file
react-native run-android
localhost:5000/?link=YOUTUBE_LINK
Example : http://flaskyoutubedownloader.herokuapp.com/?link=https://www.youtube.com/watch?v=gdGLkQ1768M
{
"title": "XXXX",
"video_img": "XXX.jpg",
"download_link": "Link",
"quality": "720p",
"format": "mp4",
"size": " size MB "
}