Skip to content

MohammadHNdev/Spotify-Playlist-Extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Spotify Playlist Extractor

This is a simple command line tool to extract tracks from Spotify playlists.

Requirements:

  • Python 3.6 or higher
  • requests library

Installation:

  1. Install Python from python.org
  2. Open command prompt (cmd)
  3. Navigate to this folder
  4. Run: pip install -r requirements.txt

Usage: python main.py [playlist_url]

Options: -f, --format Output format: txt, json, or csv (default: txt) -o, --output Output filename (optional)

Examples:

Extract playlist information from Spotify

python main.py https://open.spotify.com/playlist/37i9dQZF1DX0XUsuxWHRQd

Output in JSON format

python main.py -f json https://open.spotify.com/playlist/37i9dQZF1DX0XUsuxWHRQd

Save output to a custom text file

python main.py -o my_playlist.txt https://open.spotify.com/playlist/37i9dQZF1DX0XUsuxWHRQd

Note: The Spotify API credentials are already included in the code.

About

This is a simple command line tool to extract tracks from Spotify playlists.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages