This is a list of APIs to download videos from various platforms. You can use a publicly hosted version of the API at https://media-downloader.online/
- YouTube
First install the dependence by running:
pip install -r requirements.txt
Then just run the application by:
python app.py
Index route /
to check the server health
/Download
to download a YouTube or Instagram video
Payload structure:
{
"url":, # The url for the video to download
"ext":, # (OPTIONAL) The desired file extension (default: mp4)
"audio_only": # Boolean value for downloading audio only or with the video
}
- Support TikTok
- Support X (Formerly Twitter)
- Support Reddit
- Support Spotify
- Make a Telegram bot
- Replace spaces in file names with underscores
- Download by searching for a video
- Download video with no audio
- Implement resolution for caching
- Download playlists
- Create an interface
- For YouTube: pytube
- For Instagram: instaloader