[PR #301] [CLOSED] Spin up a local webserver to record login url #845

Closed
opened 2026-02-28 00:02:05 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/spotipy-dev/spotipy/pull/301
Author: @vmagro
Created: 6/22/2018
Status: Closed

Base: masterHead: webserver


📝 Commits (1)

  • 7293410 Spin up a local webserver to record login url

📊 Changes

2 files changed (+114 additions, -24 deletions)

View changed files

examples/local_webserver_login.py (+28 -0)
📝 spotipy/util.py (+86 -24)

📄 Description

Rather than making the user always copy and paste a link, add the option to
start a local http server to accept the Spotify redirect url.

Tested with new examples/local_webserver_login.py and also verified that
examples/my_top_tracks.py still worked.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/spotipy-dev/spotipy/pull/301 **Author:** [@vmagro](https://github.com/vmagro) **Created:** 6/22/2018 **Status:** ❌ Closed **Base:** `master` ← **Head:** `webserver` --- ### 📝 Commits (1) - [`7293410`](https://github.com/spotipy-dev/spotipy/commit/7293410b430e70625e84b6dea29f3d166bba4bbb) Spin up a local webserver to record login url ### 📊 Changes **2 files changed** (+114 additions, -24 deletions) <details> <summary>View changed files</summary> ➕ `examples/local_webserver_login.py` (+28 -0) 📝 `spotipy/util.py` (+86 -24) </details> ### 📄 Description Rather than making the user always copy and paste a link, add the option to start a local http server to accept the Spotify redirect url. Tested with new examples/local_webserver_login.py and also verified that examples/my_top_tracks.py still worked. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:02:05 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#845
No description provided.