Skip to content

Download your favorite Spotify songs with ease using this Python and PyQt5 application. Simply input the playlist link, and the program will utilize web scraping techniques to extract song data and generate download links. The user-friendly PyQt5 interface provides real-time updates on the download progress.

License

Notifications You must be signed in to change notification settings

surenjanath/Spotify-Song-Downloader-PyQt5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spotify Song Downloader with Python and PyQt5

image

DOWNLOAD LINK : HERE MEGA.NZ

Updates

  • v2.1.2 Release 13th December 2023

  • v2.1.1 19th October 2023

    • Fixed API Paths
  • v2.1 Stop Working [ 19th October 2023 ]

  • v2.1

    • Added Song Metadata such as song cover, artist, title and song release date
  • v2.0

    • Added Progress bar and interface to view songs as it is being downloaded.
    • Used v2 method for 320 kbps songs and if not available will revert to 128 kbps
    • Release
    • version 2.0 is in the same mega download link below.
    • To get v2.0 files, use the release feature on the right side of the repository named : Release
  • v1.0

    • Released

Introduction

In this project, we have created a Spotify song downloader using Python and PyQt5. The application allows users to download their favorite Spotify songs by providing the playlist link. We utilize web scraping techniques to extract the song data and PyQt5 for building an interactive and user-friendly desktop application.
This is the code for the User Interface.

Spotify Song Downloader EXE

You can find the program here also version 2.1.1 : https://mega.nz/file/wpwyzLaD#P--jbIUIlnyoDLblzXPsXRVrfh6Q5zl9QubUMDSQ5_k
Please note that your antivirus may be triggered but I Guarantee you, there are no malicious activity in the exe file. You can recreate it base on this code in this repository. Do Let me know if the Link is Live Still.

How it Works

The Spotify song downloader uses web scraping to interact with a specific website and extract song information, including the song title, artists, and YouTube ID. It then utilizes the YouTube ID to generate Analyze and Conversion IDs, which are used to download the songs. The PyQt5 interface allows users to input the Spotify playlist link, view real-time download progress, and receive updates on the downloaded songs.

Pictures of V2.1

image

image

image

Youtube Demo for v2.1

Spotify Downloader Demo

Medium article For this :

Features to Add [ Completed ]

  • Proper Error handing in v2 using Spotifydown New API [ Easy Mode ] ✓ With this new implementation the program will download songs at 320 kbps instead of 128 kbps but if an error occurs it will fall back to 128 kbps. ✓
  • MP3 metadata such as song cover, artists, album and release date. ✓
  • Each Playlist in separate folders instead of the main music folder ✓

Requirements

  • Python 3.x
  • PyQt5
  • requests
  • string
  • re
  • mutagen

Installation

  1. Clone the repository: git clone https://github.com/surenjanath/Spotify-Song-Downloader-PyQt5.git cd spotify-song-downloader

  2. Install the required libraries

  3. Enter the Spotify playlist link and press Enter.

  4. The application will start scraping the website and downloading the songs to a local folder named "music."

Folder Structure

  • main.py: The main script to run the Spotify song downloader.
  • Template.ui: The UI template file created using Qt Designer.
  • scraper.py: Contains the MusicScraper class with web scraping functions.
  • scraper_thread.py: Contains the ScraperThread class for handling web scraping in a separate thread.

Please Note Your Antivirus would do this :

  1. image

  2. image

It's a false detection.

Also if you are not able to download any songs, try using a vpn and see if that helps. If not then let me know in the issues section.

ToC

Please use it to download Copyright Free Music on Spotify
For example : https://open.spotify.com/playlist/3fQ6EJdy6n1kF4Yw5bTAVx?si=2f26056713504154

Author

License

This project is licensed under the MIT License.

Disclaimer

Please use the Spotify song downloader responsibly and respect copyright laws. Only download songs that you have the rights to use.

PS : CREATED TO DOWNLOAD COPYRIGHT FREE MUSIC

About

Download your favorite Spotify songs with ease using this Python and PyQt5 application. Simply input the playlist link, and the program will utilize web scraping techniques to extract song data and generate download links. The user-friendly PyQt5 interface provides real-time updates on the download progress.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages