Giter VIP home page Giter VIP logo

broncholasso / spotify_playlist_downloader Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 11.1 MB

This Python script allows you to convert your Spotify playlist to a collection of MP3 files effortlessly. It utilizes the Spotify API to fetch track names and searches for corresponding YouTube videos using yt_dlp.

Python 100.00%
music-download music-downloader python3 spotify spotify-api youtube-api ytdl playlist-downloader

spotify_playlist_downloader's Introduction

                              # #### ####
                            ### \/#|### |/####
                           ##\/#/ \||/##/_/##/_#
                         ###  \/###|/ \/ # ###
                       ##_\_#\_\## | #/###_/_####
                      ## #### # \ #| /  #### ##/##
                       __#_--###`  |{,###---###-~
                                 \ }{
                                  }}{
                                  }}{
                                  {{}
                            , -=-~{ .-^- _
                                  }

                        SPOTIFY MUSIC DOWNLOADER

Convert your Spotify playlists to MP3 seamlessly! ๐Ÿš€

Overview

This Python script allows you to convert your Spotify playlist to a collection of MP3 files effortlessly. It utilizes the Spotify API to fetch track names and searches for corresponding YouTube videos using yt_dlp.

Features

  • Spotify Integration: Fetch track names from your Spotify playlist.
  • YouTube Search: Search YouTube for videos based on track names.
  • Parallel Processing: Utilize threading for efficient YouTube searches.
  • Song Download: Download songs from YouTube as MP3 files using yt_dlp.

Prerequisites

Before running the script, make sure you have the following:

  • Spotify API credentials (Client ID and Client Secret)
  • YouTube Data API Key
  • Python 3.6 or later installed

Setup

  1. Install dependencies:

    pip install -r requirements.txt
    
    
    
  • Set up your API credentials by creating a .env file with the following:

    client_id=YOUR_SPOTIFY_CLIENT_ID

    client_secret=YOUR_SPOTIFY_CLIENT_SECRET

    API_KEY1=YOUR_YOUTUBE_API_KEY

  • RUN THE 'main_scr1.py'

  • Enter your Spotify playlist link when prompted.

  • Sit back and enjoy as the script fetches and downloads your favorite songs as MP3 files!

spotify_playlist_downloader's People

Contributors

broncholasso avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.