A command-line tool to download videos from various social media platforms like YouTube, TikTok, Facebook, Instagram, X & more. It supports instagram batch downloads, format selection, and maintains a download history.
Project description
Social Media Downloader
A powerful and easy-to-use tool to download public videos from your favorite social media platforms. Whether you're on Windows or Linux, technical or not — we've got you covered. Download in batches, choose your formats, and even use it as a command-line tool or standalone app. Built with love, open-source, and fully community-driven. 100% Free (but hey, a coffee wouldn’t hurt!)
[!NOTE] This tool only supports public links. It does not work on private or restricted content. If you try to use it on private content, it will throw an error. Please respect the privacy of others.
Supported Social Media Platforms
- YouTube
- TikTok
- X (Twitter) & more! See the full list Here: Supported Platforms
Features
- Multiple Platforms – YouTube, Instagram & more
- Batch Downloads – Download multiple links at once ( only public links Instagram)
- Choose Formats – MP4, MP3, or whatever you vibe with
- History Log – Keeps track of what you downloaded
- Update Checker – Always stay fresh with the latest version
- Interactive CLI – Easy to use, even for non-techies
Preview
Usage
Clone this repo (Recommended)
git clone https://github.com/nayandas69/Social-Media-Downloader.git
Then navigate to the directory:
cd Social-Media-Downloader
Recommended (Create a virtual environment)
Windows
python -m venv .venv # (Recommended)
.venv\Scripts\activate
pip install -r requirements.txt
python downloader.py
Linux
python3 -m venv .venv # (Recommended)
source .venv/bin/activate
pip3 install -r requirements.txt
python3 downloader.py
Requirements Must Be Installed
Install FFmpeg
-
Windows
Download from: https://ffmpeg.org/download.html
Add the bin path to your system environment variables. -
Linux
sudo apt update
sudo apt install ffmpeg
Installation Options
Install via PIP (Python Users Only)
Run the following command to install the tool:
pip install social-media-downloader
Then just run from anywhere:
social-media-downloader
also you can run it shortcut command smd
smd
[!NOTE] Listen if you are using
1.1.4or later version, you can run the tool usingsmdorsocial-media-downloadercommand. If you are using1.1.3or earlier version, you can run the tool usingsocial-media-downloadercommand. If you want to update to the latest version, run:
pip install --upgrade social-media-downloader
Install via .deb package
[!NOTE] This is only for Debian-based systems (like Ubuntu). If you are using other Linux distros, please use the prebuilt binaries or build from source.
- Download the
.debfile from Releases - Open a terminal and navigate to the directory where you downloaded the file.
- Run the following command:
sudo dpkg -i social-media-downloader_VERSION_amd64.deb
- If you get any dependency errors, run:
sudo apt-get install -f
- After installation, you can run the tool by typing
smdin the terminal. - To uninstall, run:
sudo apt-get remove social-media-downloader
Prebuilt Binaries & EXE
READ THIS BEFORE USING! These are prebuilt binaries and EXE files. For EXE/Binaries don't forget to install FFmpeg. Always use the latest version from the Releases page. If you have any issues, please open an issue on GitHub. Prebuilt binaries & exe don't require Python or any dependencies. Just download and run! Note: These builds are not signed, so you may get a warning from Windows Defender or your antivirus. If you get a warning, click "More Info" and then "Run Anyway". This is normal for unsigned builds. You can safely ignore it and run the EXE. If you are not sure about the build, please build it from source using the Build Instructions above. We are not responsible for any issues caused by using untrusted builds. DO NOT use modified EXE/Binaries files outside this repository. For your security, only use trusted builds.
Windows EXE (Prebuilt)
- Download the EXE from Releases
- Double-click & run like a normal app
- Boom! You're ready to download videos!
Prebuilt Linux Binaries
Download the smd-linux.tar.gz from Releases and:
tar -xvzf smd-linux.tar.gz
sudo chmod +x smd
./smd
Visit SMD Web Portal/SMD Docs/Release to Download the EXE/Binaries/.deb files
[!NOTE] This is a web portal to download the EXE or Binaries files. You can also use the web portal to download the latest version of the tool. The web portal is hosted on GitHub Pages and is updated automatically whenever a new version is released.
Check out the official page: nayandas69.github.io/Social-Media-Downloader
Check out the official documentation: nayandas69.github.io/smd-docsite
How to Use
- Run the tool (either via command line or double-click the EXE)
- Select the platform you want to download from (YouTube, Instagram, etc.)
- Paste the public link of a video
- Choose output format ID available like
625(or typemp3for audio-only) - Sit back and let the tool work its magic!
- Wait for the download to finish (it’ll show you the progress)
- Batch download? No problem! Just follow these steps:
- Create a
.txtfile with each URL on a new line - For batch download, enter the path to your
.txtfile containing URLs. - For example:
C:\path\to\batch_links.txtor/home/user/batch_links.txt
- Create a
- Find your downloaded files in the same directory as the tool
- Enjoy your videos!
Tested Platforms
- Windows 11
- Windows 10
- Kali Linux
- Parrot OS
- macOS (Not tested)
- Other Linux Distros (Should work but not tested)
Legal & Ethical Use
[!WARNING] READ THIS BEFORE USING! This tool is for PERSONAL USE ONLY and only works with public videos. You CANNOT use it to:
- Download private, copyrighted, or restricted content
- Repost videos without credit (be a decent human, c’mon)
- Violate YouTube, Instagram, Facebook, TikTok or other social media TOS I'm not responsible if you break the rules. Use this ethically and responsibly!
Read More:
Read the full documentation
Planned Features
See Roadmap for more details: Roadmap
Contributing & Support
Have suggestions? We'd love to hear them! Open an issue on GitHub or join our Discord community. Your feedback is invaluable in making this tool even better!
Love the tool? Help improve it! Open an issue or PR on GitHub.
Who contributed to this project?
Contact Me:
- Made by Nayan Das
- Email: nayanchandradas@hotmail.com
- Discord: Join here!
Thank You, 4.7K+ Users!
This project is maintained by nayandas69.
Thanks for downloading & supporting! Share your reviews and feedback.
Your support means the world to me!
Disclaimer:
This tool is not affiliated with or endorsed by YouTube, TikTok, Instagram, Facebook, X, or other social media. Use at your own discretion.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file
social_media_downloader-1.1.7.tar.gz.File metadata
File hashes
c82baf8da6c8b8523d1e8eb0973e72b79d0a79c4b55733532ad131e14007b10707eaea76c45505120a33ac9a2856dc2000dd1665d35036cbcdd0d114e21d535b47eda5c415bee2505da738ec98391e8dSee more details on using hashes here.
Provenance
The following attestation bundles were made for
social_media_downloader-1.1.7.tar.gz:Publisher:
Attestations: Values shown here reflect the state when the release was signed and may no longer be current.python-package.ymlon nayandas69/Social-Media-Downloader-
Statement type:
-
Predicate type:
-
Subject name:
-
Subject digest:
-
Sigstore transparency entry: 211278805
- Sigstore integration time:
Source repository:https://in-toto.io/Statement/v1https://docs.pypi.org/attestations/publish/v1social_media_downloader-1.1.7.tar.gzc82baf8da6c8b8523d1e8eb0973e72b79d0a79c4b55733532ad131e14007b107-
Permalink:
-
Branch / Tag:
-
Owner: https://github.com/nayandas69
-
Access:
Publication detail:nayandas69/Social-Media-Downloader@42065964e4001159252c20a4c220b1bf7de54ederefs/heads/mainpublichttps://token.actions.githubusercontent.comgithub-hostedpython-package.yml@42065964e4001159252c20a4c220b1bf7de54edepush