{"id":23397405,"url":"https://github.com/strix007/sp-dlp","last_synced_at":"2025-04-08T18:20:11.282Z","repository":{"id":260921239,"uuid":"882707215","full_name":"Strix007/sp-dlp","owner":"Strix007","description":"Download your spotify playlists by comparing your playlist metadata and youtube searches.","archived":false,"fork":false,"pushed_at":"2024-12-31T16:18:12.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T14:25:10.834Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Strix007.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-03T14:52:47.000Z","updated_at":"2024-12-31T16:18:15.000Z","dependencies_parsed_at":"2024-12-31T17:32:25.508Z","dependency_job_id":null,"html_url":"https://github.com/Strix007/sp-dlp","commit_stats":null,"previous_names":["strix007/sp-dlp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Strix007%2Fsp-dlp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Strix007%2Fsp-dlp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Strix007%2Fsp-dlp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Strix007%2Fsp-dlp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Strix007","download_url":"https://codeload.github.com/Strix007/sp-dlp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247898519,"owners_count":21014722,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-22T08:18:08.376Z","updated_at":"2025-04-08T18:20:11.101Z","avatar_url":"https://github.com/Strix007.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"#+TITLE: sp-dlp\n#+AUTHOR: Arbab Khan   \n#+EMAIL: arbabashruff@gmail.com\n#+DESCRIPTION: Download your spotify playlists by comparing your playlist metadata and youtube searches.\nDownload your spotify playlists by comparing your playlist metadata and youtube searches.\n\n* Table of Contents\n:PROPERTIES:\n:TOC:      :include all :ignore this\n:END:\n:CONTENTS:\n- [[#about-this-script][About This Script]]\n- [[#requirements][Requirements]]\n  - [[#spotify-client-id-and-secret][Spotify Client Id And Secret]]\n    - [[#obtaining-the-client-id--secret][Obtaining The Client Id \u0026 Secret]]\n  - [[#what-to-install][What To Install]]\n- [[#setup][Setup]]\n- [[#first-run][First Run]]\n- [[#limitations][Limitations]]\n- [[#contributions][Contributions]]\n:END:\n\n* About This Script\n:PROPERTIES:\n:CUSTOM_ID: about-this-script\n:END:\nThis Python script allows users to download music tracks from a Spotify playlist by searching for their corresponding versions on YouTube. It extracts the playlist name and track information using the Spotify API, downloads the audio as MP3 files, and embeds relevant metadata, including track titles and album art. The downloaded files are organized within a directory named after the playlist for easy access.\n* Requirements\n:PROPERTIES:\n:CUSTOM_ID: requirements\n:END:\n** Spotify Client Id And Secret\n:PROPERTIES:\n:CUSTOM_ID: spotify-client-id-and-secret\n:END:\nSpotipy relies on the Spotify API. In order to use the Spotify API, you'll need to create a Spotify developer account.\n*** Obtaining The Client Id \u0026 Secret\n:PROPERTIES:\n:CUSTOM_ID: obtaining-the-client-id--secret\n:END:\n Visit the Spotify developer portal. If you already have a Spotify account, click \"Log in\" and enter your username and password. Otherwise, click \"Sign up\" and follow the steps to create an account. After you've signed in or signed up, you should be redirected to your developer dashboard.\n\n Click the \"Create an App\" button. Enter any name and description you'd like for your new app. Accept the terms of service and click \"Create.\"\n\n In your new app's Overview screen, click the \"Edit Settings\" button and scroll down to \"Redirect URIs.\" Add \"http://localhost:1234\" (or any other port number of your choosing). Hit the \"Save\" button at the bottom of the Settings panel to return to you App Overview screen.\n\n Underneath your app name and description on the lefthand side, you'll see a \"Show Client Secret\" link. Click that link to reveal your Client Secret, then copy both your Client Secret and your Client ID somewhere on your computer. You'll need to access them later.\n\n** What To Install\n:PROPERTIES:\n:CUSTOM_ID: what-to-install\n:END:\n- [[https://python-poetry.org/docs/#installation][Poetry]]   \n\n* Setup\n:PROPERTIES:\n:CUSTOM_ID: setup\n:END:\n- Clone the script on your local machine\n  \n  =git clone https://github.com/Strix007/sp-dlp.git=\n- CD into the directory\n  \n    =cd sp-dlp=\n- Run Poetry\n  \n      =poetry install=\n- Run the script\n  \n  =poetry run python sp-dlp.py=\n\n* First Run\n:PROPERTIES:\n:CUSTOM_ID: first-run\n:END:\nUpon the initial execution, you will be prompted for the client id and client secret. Paste them and they will be saved in a =config.cfg=, and not be needed for further runs unless the =config.cfg= is deleted or moved.\n\n* Limitations\n:PROPERTIES:\n:CUSTOM_ID: limitations\n:END:\nThis script only works with playlist links, not album or artist links. Making it work with other types of links a goal for the future.\n\n* Contributions\n:PROPERTIES:\n:CUSTOM_ID: contributions\n:END:\nContributions such as PRs and Issues are always welcome and highly encouraged.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrix007%2Fsp-dlp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrix007%2Fsp-dlp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrix007%2Fsp-dlp/lists"}