-
๐ตSpot-Down-Tube๐ต
This script allows you to download music from a Spotify playlist using
yt-dlp
andyoutube
.๐ How it works
- The script takes a Spotify playlist URL and uses
BeautifulSoup
to scrape the track information from the page. - The track information is then used to search for the first result on YouTube.
- The script then calls an external program,
yt-dlp
, to download the audio from the YouTube link. - The downloaded audio is saved in an
mp3
format in amusics
folder.
๐ ๏ธ Dependencies
requests
urllib
re
os
BeautifulSoup
unidecode
yt-dlp
๐ป Environment
This script was tested in a Python 3.10 environment.
๐ง Installation
- Make sure you have Python 3.10 installed on your system.
- Install the dependencies by running:
pip install requests beautifulsoup4 unidecode yt-dlp
. - Clone or download this repository.
- Gimme some stars โญ
๐ Usage
- Make sure you have all the dependencies installed.
- Replace the
URL
variable with the Spotify playlist URL you want to download. - Run the script.
python3 spot_down_tube.py
Enjoy your music! ๐ถ
- The script takes a Spotify playlist URL and uses
adalbertobrant / spotdowntub Goto Github PK
View Code? Open in Web Editor NEWThis script allows you to download music from a Spotify playlist using yt-dlp and youtube.