Skip to main content

the spotify song downloader

Project description

spotidnldr - The Spotify Song Downloader

Spotidnldr

What is it?

A terminal based application written in Python3, which helps you download songs in MP3 format, with meta-data like artist information and album-arts just like on Spotify.

Installation

For Termux on Android

I made this whole thing in termux only, So I should give back to it. So to install in termux just copy below command, paste it and press enter.

curl https://raw.githubusercontent.com/raprocks/spotidnldr/master/termux_setup.sh >> "term.sh" && bash term.sh

You are good to go now.

Getting the Files

  • For Linux
    • Just clone the git repo using

      • git clone https://github.com/raprocks/spotidnldr.git spotidnldr
        
    • Then change your working directory to the newly made folder named spotidnldr

      • cd ./spotidnldr
        
    • When you are in ./spotidnldr folder and assuming you have python3 and pip installed and in you Environment Path, Run the Following Command:

      •  pip install .
        
  • for windows
    • just download the zip of the repo and unzip it.
    • just double click on setup.py
    • Done!
This installs the required packages from Pypi repo.
  • spotipy - The python wrapper for Spotify's Web API.
  • requests - The HTTP library used to get data from Youtube.
  • youtube-dl - The awesome masterpiece to get audio files.
  • ffmpeg-python - The ffmpeg wrapper for python
  • eyeD3 - The Meta-Data Writer
  • Click - The module which converts the package to a CLI app.
  • ytmusicapi - the module which retrives youtube links of songs.

You will probably need the root user permissions if you are on a linux system or Mac. Just add sudo at the begining of the command and it should work without any issues.

now all you need after this is FFMPEG.

For Windows.
  1. Get FFMPEG from here
  2. Make a new folder named ffmpeg somewhere and install or extract the downloaded zip to it.
  3. Add FFMPEG to system path by following this guide here.
  4. Now you have enables access of FFMPEG from python.
For Linux.
  1. Follow this guide here.
  2. Done.

Usage

  • Just run the program by doing.
spoti

Anywhere!

  • Then paste the link of spotify Song, Playlist, Album or Artist.(Nicely rhymes)
  • Access help for program by doing spoti --help.

Credits

  • ME(obviously) - did everything on my phone. Not kidding, it's Hard.
  • All the respective devs of pypi packages. All Gawds.
  • @SwapnilSoni1999 sir for making me do this(?).
  • @AyamDobhal sir for fixing readme.
  • @Sharvil234 sir for hard testing.
  • Termux.

To Do List

  • Make this into a cli application using Click.
  • try to complete your suggestions and squash the bugs.
  • make a interface.
  • Leave a Star if you think I deserve it. Also Checkout F8L on spotify.

Thanks

> ~ Rohit.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spotidnldr-1.2.0.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

spotidnldr-1.2.0-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file spotidnldr-1.2.0.tar.gz.

File metadata

  • Download URL: spotidnldr-1.2.0.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for spotidnldr-1.2.0.tar.gz
Algorithm Hash digest
SHA256 647bbd012a5d78fd6929501fb9b9d907fb2cae601c2f3b560efabdc22168beb2
MD5 b11555aa707ab012bc18c8a8ae36f47b
BLAKE2b-256 baacef5c29cf2f7d7bf1ad77283e90108ab98e22b5de224546ca942677acf8b5

See more details on using hashes here.

File details

Details for the file spotidnldr-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: spotidnldr-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for spotidnldr-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 004b4f5230fdec562817a92b39fda53c4e2615644bf433dedd33b8354c8eab19
MD5 3516e9f0ea695093159fe9b20837a28d
BLAKE2b-256 d8b4f82f7e65a1e64737e77d44d05bc530ff55cc6fb5617cfafa043ae6563ea5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page