[PR #798] [MERGED] get_home: fix song artist parsing #740

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

📋 Pull Request Information

Original PR: https://github.com/sigma67/ytmusicapi/pull/798
Author: @sgvictorino
Created: 8/3/2025
Status: Merged
Merged: 8/23/2025
Merged by: @sigma67

Base: mainHead: get_home-song-artists


📝 Commits (2)

  • f7ee15b get_home: fix song artist parsing
  • 1f7d007 skip type specifiers in parse_song_runs without comparing text

📊 Changes

12 files changed (+118 additions, -68 deletions)

View changed files

📝 tests/mixins/test_browsing.py (+19 -0)
📝 tests/mixins/test_explore.py (+4 -1)
📝 tests/mixins/test_search.py (+10 -0)
📝 ytmusicapi/mixins/browsing.py (+9 -7)
📝 ytmusicapi/mixins/explore.py (+1 -1)
📝 ytmusicapi/mixins/search.py (+2 -6)
📝 ytmusicapi/parsers/_utils.py (+3 -1)
📝 ytmusicapi/parsers/browsing.py (+8 -5)
ytmusicapi/parsers/constants.py (+1 -0)
📝 ytmusicapi/parsers/explore.py (+1 -13)
📝 ytmusicapi/parsers/search.py (+3 -11)
📝 ytmusicapi/parsers/songs.py (+57 -23)

📄 Description

extra text is now excluded from artists:

  • get_home/get_song_related: play counts in certain track carousels
  • get_home: "Song" specifiers for audio tracks

get_explore song charts are also no longer missing album data


🔄 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/798 **Author:** [@sgvictorino](https://github.com/sgvictorino) **Created:** 8/3/2025 **Status:** ✅ Merged **Merged:** 8/23/2025 **Merged by:** [@sigma67](https://github.com/sigma67) **Base:** `main` ← **Head:** `get_home-song-artists` --- ### 📝 Commits (2) - [`f7ee15b`](https://github.com/sigma67/ytmusicapi/commit/f7ee15b82a031baef1fd572db6aa2d392482b081) get_home: fix song artist parsing - [`1f7d007`](https://github.com/sigma67/ytmusicapi/commit/1f7d0072097f4aff7a7422f906b7445a7e0a2ce0) skip type specifiers in parse_song_runs without comparing text ### 📊 Changes **12 files changed** (+118 additions, -68 deletions) <details> <summary>View changed files</summary> 📝 `tests/mixins/test_browsing.py` (+19 -0) 📝 `tests/mixins/test_explore.py` (+4 -1) 📝 `tests/mixins/test_search.py` (+10 -0) 📝 `ytmusicapi/mixins/browsing.py` (+9 -7) 📝 `ytmusicapi/mixins/explore.py` (+1 -1) 📝 `ytmusicapi/mixins/search.py` (+2 -6) 📝 `ytmusicapi/parsers/_utils.py` (+3 -1) 📝 `ytmusicapi/parsers/browsing.py` (+8 -5) ➕ `ytmusicapi/parsers/constants.py` (+1 -0) 📝 `ytmusicapi/parsers/explore.py` (+1 -13) 📝 `ytmusicapi/parsers/search.py` (+3 -11) 📝 `ytmusicapi/parsers/songs.py` (+57 -23) </details> ### 📄 Description extra text is now excluded from `artists`: - `get_home`/`get_song_related`: play counts in certain track carousels - `get_home`: "Song" specifiers for audio tracks `get_explore` song charts are also no longer missing `album` data --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 23:02:13 +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#740
No description provided.