Skip to content

This is an API application that will download media from social media websites

License

Notifications You must be signed in to change notification settings

DawiAlotaibi/MediaDownloader-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MediaDownloader-API

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/

Supported Platforms

  • YouTube
  • Instagram

How to build

First install the dependence by running:

pip install -r requirements.txt

Then just run the application by:

python app.py  

Using the API

Routes

GET

Index route / to check the server health

POST

/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
}

Future Work

  • 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

Credits

About

This is an API application that will download media from social media websites

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages