SmartDlBot: The ultimate toolkit on Telegram, offering Facebook,YouTube,Pinterest,Spotify Downloader. Simplify your tasks with ease!
- Facebook Video Downloader: Download videos from Facebook.
- YouTube Video Downloader: Download videos from YouTube.
- Pinterest Video Downloader: Download videos from Pinterest.
- Spotify Track Downloader: Download tracks from Spotify.
- Instagram Reel Downloader: Download Reels From Instagram
- TikTok Video Downloader: Download TikTok Video From TikTok
To install pyrogram
, yt-dlp
, spotipy
, requests
, pillow
, asyncio
, aiofiles
, aiohttp
run the following command:
pip install -r requirements.txt
Note: If you previously installed pyrofork
, uninstall it before installing pyrogram
.
To avoid errors related to YouTube sign-in requirements, using a cookie file is effective. Here's how to set it up:
-
Create a Dedicated Chrome Profile:
- It's recommended to create a new Chrome profile for managing your bot's cookies.
-
Install a Cookie Management Extension:
- Use Cookie Editor or similar extensions to manage your cookies.
-
Export Cookies from YouTube:
- Log into YouTube in your new browser profile and export cookies in Netscape format via the cookie extension.
-
Save the Cookies File:
- Update your
cookies.txt
in theSmartDlBot/cookies
directory of your project.
- Update your
-
Cookie Expiry:
- Refresh your cookies by exporting new ones if you encounter download issues.
-
Cookie Depletion:
- Avoid frequent bot restarts and excessive YouTube requests to prevent early cookie expiry.
This setup should help manage YouTube content access efficiently without encountering sign-in or bot protection errors.
- Open the
config.py
file in your favorite text editor. - Replace the placeholders for
API_ID
,API_HASH
,BOT_TOKEN
,SPOTIFY_CLIENT_ID
, andSPOTIFY_CLIENT_SECRET
with your actual values:API_ID
: Your API ID from my.telegram.org.API_HASH
: Your API Hash from my.telegram.org.BOT_TOKEN
: The token you obtained from @BotFather.SPOTIFY_CLIENT_ID
: SPOTIFY_CLIENT_ID from Spotify Developer DashboardSPOTIFY_CLIENT_SECRET
: SPOTIFY_CLIENT_SECRET from Spotify Developer DashboardMONGO_URL
: MONGO_URL from MONGODB DATABASE
git clone https://github.com/abirxdhack/SmartDlBot
cd SmartDlBot
python3 main.py
git clone https://github.com/abirxdhack/SmartDlBot
cd SmartDlBot
screen -S SmartDlBot
python3 main.py
The bot supports the following commands:
Download videos and tracks from popular platforms using these commands:
➢ /fb [Video URL]
- Download a Facebook video.
- Example: /fb https://www.facebook.com/share/v/18VH1yNXoq/
Downloads the specified Facebook video
- Note: Private Facebook videos cannot be downloaded.
➢ /pin [Video URL]
- Download a Pinterest video.
- Example: /pin https://pin.it/6GoDMRwmE
Downloads the specified Pinterest video
➢ /in [Video URL]
- Download a Instagram video.
- Example: **/in https://www.instagram.com/reel/C_vOYErJBm7/?igsh=YzljYTk1ODg3Zg== **
Downloads the specified Instagram video
➢ /tt [Video URL]
- Download a TikTok Video.
- Example: /tt https://vt.tiktok.com/ZSMV19Kfu/ **
Downloads the specified TikTok Video**
➢ /sp [Track URL]
- Download a Spotify track.
- Example: /sp https://open.spotify.com/track/7ouBSPZKQpm7zQz2leJXta **
Downloads the specified Spotify track**
➢ /yt [Video URL]
- Download a YouTube video.
- Example: /yt https://youtu.be/In8bfGnXavw
Downloads the specified YouTube video
➢ /song [Video URL]
- Download a YouTube video as an MP3 file.
- Example: /song https://youtu.be/In8bfGnXavw
Converts and downloads the video as MP3
**Or You Can Use Below Commands **
➢ .fb [Video URL]
- Download a Facebook video.
- Example: .fb https://www.facebook.com/share/v/18VH1yNXoq/
Downloads the specified Facebook video
- Note: Private Facebook videos cannot be downloaded.
➢ .pin [Video URL]
- Download a Pinterest video.
- Example: .pin https://pin.it/6GoDMRwmE
Downloads the specified Pinterest video
- Note: 18+ Instagram Reels cannot be downloaded.
➢ .in [Video URL]
- Download a Instagram video.
- Example: **/in https://www.instagram.com/reel/C_vOYErJBm7/?igsh=YzljYTk1ODg3Zg== **
Downloads the specified Instagram video
➢ .tt [Video URL]
- Download a TikTok Video.
- Example: /tt https://vt.tiktok.com/ZSMV19Kfu/ **
Downloads the specified TikTok Video**
➢ .sp [Track URL]
- Download a Spotify track.
- Example: .sp https://open.spotify.com/track/7ouBSPZKQpm7zQz2leJXta
Downloads the specified Spotify track
➢ .yt [Video URL]
- Download a YouTube video.
- Example: .yt https://youtu.be/In8bfGnXavw
Downloads the specified YouTube video
➢ .song [Video URL]
- Download a YouTube video as an MP3 file.
- Example: .song https://youtu.be/In8bfGnXavw
Converts and downloads the video as MP3
Provide a valid public URL for each platform to download successfully For inquiries or feedback, please feel free to reach out via Telegram.
Ethics Reminder: Simply modifying a few lines of code does not constitute original authorship. When forking a project, always fork responsibly and give proper credit to the original creators.
- Name: Abir Arafat Chawdhury
- Telegram: @abirxdhackz
- Name ᔰ ᦲ ᔰ 「🇲🇲」
- Telegram: @nkka404