[PR #758] [MERGED] Remove query parameters from URI #1011

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

📋 Pull Request Information

Original PR: https://github.com/spotipy-dev/spotipy/pull/758
Author: @fcusson
Created: 12/16/2021
Status: Merged
Merged: 12/17/2021
Merged by: @stephanebruckert

Base: masterHead: master


📝 Commits (3)

  • 24921ca made _get_id take account of ? in URI
  • 4f808e8 corrected typo
  • 30a9c21 changes to _get_id explained

📊 Changes

2 files changed (+2 additions, -1 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 spotipy/client.py (+1 -1)

📄 Description

#757

This PR adds a split to the _get_id function to make sure an URI provided by the user removes any element following an interrogation mark to only return the id element of the URI.


🔄 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/758 **Author:** [@fcusson](https://github.com/fcusson) **Created:** 12/16/2021 **Status:** ✅ Merged **Merged:** 12/17/2021 **Merged by:** [@stephanebruckert](https://github.com/stephanebruckert) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (3) - [`24921ca`](https://github.com/spotipy-dev/spotipy/commit/24921ca5f2f1588637dcf98661a30d1d2c2407ff) made _get_id take account of ? in URI - [`4f808e8`](https://github.com/spotipy-dev/spotipy/commit/4f808e8585b3389e720d6c02db98a82ed309f18f) corrected typo - [`30a9c21`](https://github.com/spotipy-dev/spotipy/commit/30a9c21b87a6243fb0408d0e5ed8da5f0694164a) changes to _get_id explained ### 📊 Changes **2 files changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `spotipy/client.py` (+1 -1) </details> ### 📄 Description #757 This PR adds a split to the _get_id function to make sure an URI provided by the user removes any element following an interrogation mark to only return the id element of the URI. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:03:14 +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#1011
No description provided.