[PR #421] [MERGED] Fix for KeyError when searching community_playlists or featured_playlists. Closes #420 #614

Closed
opened 2026-02-27 23:01:42 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/sigma67/ytmusicapi/pull/421
Author: @nick42d
Created: 8/4/2023
Status: Merged
Merged: 8/5/2023
Merged by: @sigma67

Base: masterHead: issue420


📝 Commits (3)

  • ad1e9a8 Fix for issue #420 KeyError when searching community_playlists or featured_playlists with scope library
  • e8cd2a7 From PR feedback - better exception message for search guard clause.
  • 853abbf Fixed lint

📊 Changes

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

View changed files

📝 tests/test.py (+13 -1)
📝 ytmusicapi/mixins/search.py (+8 -1)

📄 Description

Fix for KeyError when searching community_playlists or featured_playlists.
Also applies a small lint to tests.py.


🔄 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/sigma67/ytmusicapi/pull/421 **Author:** [@nick42d](https://github.com/nick42d) **Created:** 8/4/2023 **Status:** ✅ Merged **Merged:** 8/5/2023 **Merged by:** [@sigma67](https://github.com/sigma67) **Base:** `master` ← **Head:** `issue420` --- ### 📝 Commits (3) - [`ad1e9a8`](https://github.com/sigma67/ytmusicapi/commit/ad1e9a8faf8e00e3f14da388dc5bf0518094709f) Fix for issue #420 KeyError when searching community_playlists or featured_playlists with scope library - [`e8cd2a7`](https://github.com/sigma67/ytmusicapi/commit/e8cd2a71f884a22eff0c855b110260ca88dfeff6) From PR feedback - better exception message for search guard clause. - [`853abbf`](https://github.com/sigma67/ytmusicapi/commit/853abbffd9ec7f572918a104038f317e9f6df32d) Fixed lint ### 📊 Changes **2 files changed** (+21 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `tests/test.py` (+13 -1) 📝 `ytmusicapi/mixins/search.py` (+8 -1) </details> ### 📄 Description Fix for KeyError when searching community_playlists or featured_playlists. Also applies a small lint to tests.py. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 23:01:42 +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/ytmusicapi#614
No description provided.